Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kgeist
on May 29, 2022
|
parent
|
context
|
favorite
| on:
The use of ‘class’ for things that should be simpl...
Yes, this kind of approach is equivalent to closures/currying, in the style of OOP. However, using closures for this may not look idiomatic in some languages.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: