Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
matheusmoreira
2y ago
0 comments
Share
I actually agree with that. Javascript has a good heart. Just wish they'd stop trying to add classes to the language.
undefined | Better HN
0 comments
default
newest
oldest
postalrat
2y ago
I've found closures can execute faster but classes take less memory and instantiate faster. Though rarely it matters.
matheusmoreira
OP
2y ago
Closures are nice. I'm a fan of simple objects with prototypes myself.
j
/
k
navigate · click thread line to collapse