Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
philbarr
on April 1, 2015
|
parent
|
context
|
favorite
| on:
Refactoring: How do I even start?
No, you don't need the the second argument since the for loop just won't execute at all if the list length is zero.
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: