Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?

Comment: Teach them the most basic rule of all (Score 0) 452

by NotSoHeavyD (#25339677) Attached to: How Should I Teach a Basic Programming Course?
And that rule is to make your god damn code readable. Use comments if it makes sense, break up blocks of code into digestible blocks, useful function names and variable names. I can't remember how many times I've seen unreadable code with 1000 line functions, no comments at all, different classes with similar names, braces that don't line up, etc. Oh well, given slash dot I expected to have this one moderated down.

What sin has not been committed in the name of efficiency?