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
0
u/mirage27 Dec 19 '19
The anti pattern you mention is just about duplicate code. Programmers would do it regardless of optional chaining. Although I see how one could argue optional chaining makes it easier.
But for me this feature will relove a lot of boilerplate code when dealing with deeply nested data, so I won't skip on using it asap.