Re:Let’s Stop Bashing C
by OskarS on Friday December 02, 2016 @06:55AM
(#13087878)
I totally agree, the "bare" if/for/while block is a real curse and should never have been allowed. I decided a while ago to always put in braces in C-style languages even for single statements. If nothing else, it just looks better. The code looks more "balanced", i think, an "if" without curly braces looks like it's toppling over or something.
[ Parent
| on HN ]
There are no comments on this comment yet.