DEV Community

Discussion on: Which process do you follow before code?

Collapse
 
ben profile image
Ben Halpern

I rarely find I encounter challenges as straightforward as "hard algorithm".

If it's adding functionality or fixing an issue with existing parts of the code it probably starts with a bit of reading through any existing code I might touch, and then ideally sketching out some functionality, followed by writing the tests to reflect that functionality and then writing the features one test at a time.

Collapse
 
belhassen07 profile image
Belhassen Chelbi

how do you sketch ? like UML diagrams or things you understand?