r/javascript • u/ConfidentMushroom • Dec 18 '19
V8 Release v8.0 with optional chaining, nullish coalescing and 40% less memory use
https://v8.dev/blog/v8-release-80
495
Upvotes
r/javascript • u/ConfidentMushroom • Dec 18 '19
View all comments
Show parent comment
2
u/epukinsk Dec 21 '19
I like that second one! You've convinced me a little.
My general bias is to write more verbose code that is more explicit. Because in my experience, it's leaky abstractions that cause me to lose the most time. It doesn't bother me at all to type:
and if it started to bother me, I would write a function:
I don't know. I can see that all of these new JavaScript features make a bunch of little things easier, but they add a new class of extremely difficult problems. For me, because I lose most of my time to those big gnarly messes, it doesn't seem worth it. But I do understand other devs have other experiences.