Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aidos
on Sept 1, 2013
|
parent
|
context
|
favorite
| on:
Brilliant or insane code?
The current function has the same restriction. In their case it's in the form of " * 3 ".
garethadams
on Sept 1, 2013
[–]
That `3` can be trivially replaced with a variable in a way that `(i, i, i)` cannot. But still, the refactoring of the iterator into a separate variable is the key step which reinforces that the same object is being passed 3 times
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: