News for hackers. Stuff that matters.
Re:The silent majority in software by jollybean on Monday August 29, 2022 @10:05AM (#32638414)
I consider JS an anti-pattern and won't allow more then 50 lines to be anywhere near me without TypeScript. The issues raised are innumerable.

TS is really flexible and you can do some crazy gymnastics with it - I don't favour that. Just keep it very simple and don't go crazy with the generics.

I've never had a problem at all, I've never had to dig into what was transpiled.

Re:The silent majority in software by danielvaughn on Wednesday August 31, 2022 @08:12PM (#32670047)
Someone else in the thread mentioned how The Good Parts™ idea applies to TS just as much as JS, and I think that's what kinda frustrates me about it. If they'd just kept the damn thing simple, I don't think I'd have a problem with it.