21 ms·
Prettier but potentially dangerous? That's the core of the problem, I believe.
by Piskvorrr 11y ago
Prettier but potentially dangerous? That's the core of the problem, I believe.
- gravypod 11y agoI agree. I don't care much about if something looks good, but rather if it works well.
- Grue3 11y agoEverything is potentially dangerous. I mean, pointers, anyone? So many things that can go wrong with those. And besides, code is for humans to read and only incidentally for computers to execute. Might as well optimize for prettiness.
- Piskvorrr 11y agoThis is the poster case for "code is for humans to read, so it shouldn't be easy to mis-read." Braceless misindented ifs are everything except easy to read.