DEV Community

Discussion on: Learning to think like a programmer.

Collapse
 
jacoby profile image
Dave Jacoby

The pitfall of just write code, of course, is that the conventions and protocols and styles you're "of course" about (because you learned it all yourself) are things that may drive others batty. Like my preferred indenting scheme.

So, additionally, reading code and asking questions to other programmers should be part of the process as well.

Collapse
 
vithabada profile image
Vít Habada • Edited

I really don't think that a novice, that is just learning to think algorithmically should focus or be able to focus on following some conventions. As you say, one can 'learn that for himself'.

First thing to master is putting a thought into code. Conventions and best practices just add a layer of overhead on top of that.

So, additionally, reading code and asking questions to other programmers should be part of the process as well.

Definitely.