2 ms·
>I see it everywhere and it just adds noise, since it doesn't change the functionality of the code. I'm confused. It sounds like you're saying if (conditi
by benihana 13y ago
>I see it everywhere and it just adds noise, since it doesn't change the functionality of the code.
I'm confused. It sounds like you're saying
if (condition) { stuff(); other_stuff(); }
is the same as
if (condition) stuff(); other_stuff();
because the brackets don't change the functionality, but they do. I might be misreading what you're saying though.
- detrino 13y agoWhat he was saying should be obvious, since there is actual code in the comment he was replying to, and its not what you wrote.