Better HN
top
new
best
ask
show
jobs
Log in
Sign up
byllgrim
3 karma · joined Mar 28, 2017 (9y ago) · 2 submissions
Submissions
comment 9y ago ·
link
·
parent
This! It's not just an aesthetic preference. Like the tab limit, it is instrumental to impede bad logic.
comment 9y ago ·
link
·
parent
I don't get what "what looks like an `if` block" is. In a no-brace if, the statement that follows is indented. The next line after that is not indented. So the indented statement obviously belong to the if.