DEV Community

Discussion on: How To Write Pseudo-code

Collapse
 
markaurit profile image
MarkAurit

Pseudo-code is a great tool for working with large code bases that you didnt write in the first place, especially if they are complex. Or your own, 6 months later after you've moved on! As a senior I'll often tell younger devs to pseudo-code a task and bring it back to me before writing code; if their pseudo-code is correct I know they understand the problem and have much higher confidence they will write correct code.

Collapse
 
fpuffer profile image
Frank Puffer • Edited

Yeah, but why not let them write real code and do a code review soon. It might cause a bit more work for you but it is safer and the junior will probably learn more. Coding is not like building a house. Code can easily be modified. Version management tools exist. Refactoring exists.

Collapse
 
andrei_says profile image
Andrei Andreev

Different level of abstraction which allows for ultra efficient communication and review of logic.