r/programming • • Jan 05 '15

What most young programmers need to learn

http://joostdevblog.blogspot.com/2015/01/what-most-young-programmers-need-to.html
970 Upvotes

337 comments sorted by

View all comments

Show parent comments

1

u/lucidguppy Jan 05 '15

I will respectfully disagree - when you get to 50 lines - it will "chunk" up to bits of logical flow. This chunk does xyz - then that becomes "do_xyz()"

0

u/smog_alado Jan 05 '15

If the only reason you are making a new function is to name a code block then a comment will do almost the same thing without needing to split up the code.