r/javascript • • Feb 20 '18

Optional Chaining may be coming to JavaScript

https://dev.to/sammyisa/optional-chaining-may-be-coming-to-javascript--4ff0
321 Upvotes

100 comments sorted by

View all comments

-1

u/Koala_T_User Feb 20 '18

I really hope this doesn’t come to js. It’s so awkward to debug in c#. Just imo

3

u/CCB0x45 Feb 20 '18

How would it be hard to debug, you can. Always see the object in the debugger at they line and the result of the expression.

1

u/Koala_T_User Feb 20 '18

I didn’t say hard I said awkward. It’s like nullable bools, they have value but also a trade off in clarity.