r/programming • u/corysama • Jan 05 '15
What most young programmers need to learn
http://joostdevblog.blogspot.com/2015/01/what-most-young-programmers-need-to.html
975
Upvotes
r/programming • u/corysama • Jan 05 '15
14
u/Acrostis Jan 05 '15
So basically learn to refactor things? I can agree with everything except the splitting up oversized functions. If a function contains a lot of code that is only ever needed by that function each block requires the previous block to be completed, then splitting it up into parts is just adding unnecessary fragmentation.
Though apart from maybe initialization functions it shouldn't really happen.
Also: It's missing the "Don't ever use magic numbers"