loading...

re: What do you dislike about your favorite language? VIEW POST

FULL DISCUSSION
 

I both love and hate TypeScript, it's great for all the things it gets right, but there are clear cases that it totally misses the bar.

e.g:

const a = ['hello'];

a[1].toString(); // doesn't complain that it's `undefined`
                          // and causes runtime errors
code of conduct - report abuse