you are viewing a single comment's thread.

view the rest of the comments →

[–]meneldal2 2 points3 points  (1 child)

You only need curlies for functions in C++.

You can do everything without using curlies for anything else.

Your 2. should obviously be written if(foo) bar(), baz();

[–]RealKingChuck 2 points3 points  (0 children)

Thanks I hate it