DEV Community

Discussion on: Can you describe how you visualize or form mental models around your work?

Collapse
 
mellen profile image
Matt Ellen

I'm pretty sure I mentally model my code as a map.

When I'm reading through the code I'm think about where it will take me, the next land mark, the final destination.

If I take a wrong turn is that because I've read the map wrong or because the code is leading me up the garden path? So I backtrack and look for a familiar place to see if I can get on the straight and narrow.

When I'm writing code, I'm trying to leave good signposts for me when I follow in my footsteps.