8

Most of my time coding in Javascript goes to handling null checks and fixing crashes caused due to missed null checks.
`"abc" is undefined` is an error which I must have seen more number of times than any other bug in console and even in real life.

Comments
  • 1
    Type script to the rescue!? I can’t stress static typing enough...
  • 0
    You could try the Optional or Maybe monad, not sure if any of them are part of js but are simple to make
Add Comment