News for hackers. Stuff that matters.
Re:Bad TypeScript Habits by jamil7 on Tuesday February 02, 2021 @05:47PM (#26008083)
I kind of came to the same conclusion at some point. I normally find statically typed languages much more productive. If you’re working with all typescript libraries with great typings it’s probably great but the reality of the javascript ecosystem means you’re often wasting time getting the compiler to understand how a few dependencies should cooperate. That and the fact that I contracted on a few larger projects that were in a transition phase filled with ‘any’ which often meant little type safety but a lot of extra typing.
Re:Bad TypeScript Habits by Aeolun on Wednesday February 03, 2021 @01:56AM (#26011279)
You don’t really have to type anything you don’t want to type though?