3 ms·
I disagree. Code is not just for controlling the computer. Just as importantly, it's also meant to be read by humans. So, code should be written in a way that
by javert 5y ago
I disagree. Code is not just for controlling the computer. Just as importantly, it's also meant to be read by humans.
So, code should be written in a way that is easy for a human to read and understand.
Code should easily and naturally show what it's intended to achieve 99% of the time.
Comments should be used sparsely, and only to express things that must be expressed and cannot be expressed in code.