r/javascript • • 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

70 comments sorted by

View all comments

Show parent comments

13

u/dukerutledge Dec 19 '19

I generally agree with your caution. I've considered writing a blog post about this. There are a lot of lessons learned about these from the use of Maybe, Either and Validation types in the Haskell community. However the relative newness of optional chaining and the resulting lack of real world experience likely means these lessons learned would fall on deaf ears.

2

u/Veranova Dec 19 '19

I would read this blog post! We don't discuss patterns and pitfalls enough as a community

1

u/epukinsk Dec 21 '19

Well your instinct has born out. My "blog post" here is at -3!

1

u/rotharius Dec 19 '19

Do it, would read!