Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
matheusmoreira
2y ago
0 comments
Save
Share
I actually agree with that. Javascript has a good heart. Just wish they'd stop trying to add classes to the language.
0 comments
2 comments · 1 top-level
top
newest
oldest
postalrat
2y ago
· 1 in thread
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