Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jmduke
on April 24, 2013
|
parent
|
context
|
favorite
| on:
What Python developers need to know before migrati...
I believe he's referring to the latter -- as opposed to:
if blah { code } else { code }
Personally, I don't prefer the K&R way but I don't think it's either strange nor troublesome enough to worry about for more than a few seconds.
samatman
on April 24, 2013
[–]
The argument is that putting anything between } and else breaks the else statement, so using } else { stresses that you cannot add statements either before or after the else.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: