Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jamesbritt
on Aug 12, 2011
|
parent
|
context
|
favorite
| on:
Poll: Spaces in if statements
Yes. I leave out parens whenever I can because position, spacing and syntax highlighting makes code quite clear.
So I really prefer, for example,
if have_taste? ...
or
unless stuff =~ some_regex ...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So I really prefer, for example,
or