3 ms·
> Don't write clever code, write readable code. Good one. Clever code is really tempting. It feels cool to do something in one line instead of six and call it
by graedus 8y ago
> Don't write clever code, write readable code.
Good one. Clever code is really tempting. It feels cool to do something in one line instead of six and call it a day. In many cases, the mature thing to do is to know how to do the cryptic one-liner, but write the six lines anyway for readability and comment them.