Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
michaelmior
on June 12, 2016
|
parent
|
context
|
favorite
| on:
Anti-if: The Missing Patterns
If I'm doing an early return, I usually don't put the rest of the function inside the else case since I feel it creates an unnecessary level of indentation.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: