Hacker News new | ask | show | jobs
by gurkendoktor 4560 days ago
If you are worried about else conditions, wouldn't this be the way around it?

{if (condition) singleFunctionCall();}

1 comments

Why is this being downvoted? How do curly braces around the function call help with ambiguous else branches?