DEV Community

Discussion on: How do you decide what order to put code in?

Collapse
 
nektro profile image
Meghan (she/her)

+1 that's the way that makes the most sense to me, though personally I do it backwards to that because imagining I'm the compiler, it makes more sense to put the functions that don't reference any other functions at the beginning, and then to build up down the file.