DEV Community

[Comment from a deleted post]
Collapse
 
zeddotes profile image
zeddotes

I write code in increments, by block for example, to explain what the code preceding does. This makes it easy for new devs to hit the ground running as well as understand overall composition.

Collapse
 
seraphicrav profile image
Ravaka Razafimanantsoa

If you can make blocks, usually, you can make a function too ;)

Collapse
 
zeddotes profile image
zeddotes

I meant that as well as inline block scopes for code organization

 
seraphicrav profile image
Ravaka Razafimanantsoa

Ok!