Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lr4444lr
on Dec 25, 2024
|
parent
|
context
|
favorite
| on:
Cognitive load is what matters
If the variables were clearly named, I wouldn't have to read much at all, unless I was interested in the details. I reitrate: why does the
length
of the single function with no reuse matter?
F-W-M
on Dec 25, 2024
[–]
It does not matter if function foo is reused, only if the code inside foo that is to be pulled into new function bar is.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: