I think it's interesting, but I don't know if it's really good.
On the one hand, most of my errors are related to the problem this proposal tries to solve.
On the other hand, I never checked how often I can get along with null/undefined and NOT crash.
null
undefined
I mean sure, in some UI code I just want to display a value and if I don't get it, I can display nothing and be done with it.
But when I need an ID to get something from a back-end?
Promises are eating my errors like nobodies business already, now this? I don't know XD
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think it's interesting, but I don't know if it's really good.
On the one hand, most of my errors are related to the problem this proposal tries to solve.
On the other hand, I never checked how often I can get along with
null
/undefined
and NOT crash.I mean sure, in some UI code I just want to display a value and if I don't get it, I can display nothing and be done with it.
But when I need an ID to get something from a back-end?
Promises are eating my errors like nobodies business already, now this? I don't know XD