5 ms·
Programming is, in many ways, applied logic. Understanding logic leads to much cleaner code. People who don't understand logic make the code I've had to clean u
by Jtsummers 6y ago
Programming is, in many ways, applied logic. Understanding logic leads to much cleaner code. People who don't understand logic make the code I've had to clean up. Things like taking a > 500 line function with a complex set of nested conditionals, pulling them all out, and realizing that it could be < 100 lines with no nesting or only one level below the top by properly placing guards at the top of the function.
I have worked with programmers who have no understanding of logic, I never want to work on their code again. It's a remarkably simple skill to develop and should be part of every CS students' curriculum.