News for hackers. Stuff that matters.
Re:Choose Boring Technology (2015) by austincheney on Sunday February 21, 2021 @01:18PM (#26215704)
TypeScript is nice when you are working with data structures because everything can be defined as interfaces, including functions and methods. This allows you to identify errors as you are writing code instead of having to execute it. Of course this only works if you make use of strict type definitions. TypeScript is like steroids in that it only makes you more of what you already are, which could be quite negative. TypeScript is not a supplement for missing discipline.

> I'm surprised you haven't run into more of these people that just seem to use TS as a complexity multiplier for every bad engineering decision they make.

AngularJS claims to be TypeScript but most instances of Angular code rarely make use of type definitions, which then defeats the whole point of TypeScript and then only contributes to spaghetti and tech debt.

Re:Choose Boring Technology (2015) by pjmlp on Tuesday February 23, 2021 @05:05AM (#26235568)
AngularJS doesn't do TypeScript, Angular does.