re: Typescript: First thoughts VIEW POST


I disliked js.I never liked writing frontend code until typescript came along.

Too much time spent on silly typos. Too much time writing null/undefined/0/[] checks. Or spent time protecting method arguments from messing up string and number addition. I can code faster, with less errors, without having to re-reference the documentation constantly. I can rename a variable and be sure it gets updated everywhere. Whats not to like? Well, writing good type definition files for imported js libs can be a chore, but thats only done once.

code of conduct - report abuse