in reply to No braces

I don't mind the C syntax where you can choose between curly or not-curly. However, if I see an 'else', then for me, both sides need to agree. Both with braces, or both without.
// YES // YES // NO if (cond) if (cond) { if (cond) { task(); task(); task(); else } else { } else alternate(); alternate(); alternate(); }

I love Perl's statement modifiers. I'm often going back to a C or C++ project and finding myself typing something like:

double calc_stuff(double x) { return 0 if x < 0; ... }
I also like using parens around first-class conditionals when required in Perl, but dropping them for modifiers which don't need them.
if (condition) { task() } task() if condition;

--
[ e d @ h a l l e y . c c ]