Hacker News new | past | comments | ask | show | jobs | submit login

Well, to be fair, saying a JS code-slave (of which I am one) really likes TypeScript is like saying a malnourished man lost for a month in Death Valley sustaining only on dead maggots and his own urine really likes dining at the Home Town Buffet. He would already have been overjoyed with some coffee and harmony, yet the gods decided to give him a real meal.

You won't find a single Javascript engineer who hasn't been tortured by "Undefined is not a function" or worse on a daily basis, so something that promises to liberate us from this evil is always appreciated.




  "use strict";


I guess because of karma or something I actually got the "undefined is not a function" error today. And I had no idea what was wrong!

Tried the same in NodeJS and that gave:

  Object  has no method 'bar'
So I guess it depends on what implementation of JS you use for development. Still JS is much easier to debug then assembly (compiled languages).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: