News for hackers. Stuff that matters.
Re:How an Anti-TypeScript “JavaScript developer” like me bec... by pjmlp on Tuesday March 02, 2021 @09:55AM (#26315928)
We only use TypeScript on frameworks that make it a requirement, the language is starting to look like Haskell.

As much as I like Anders work, it is impossible to understand modern TypeScript without looking into tsconfig.json before looking into source code.

Re:How an Anti-TypeScript “JavaScript developer” like me bec... by zaccusl on Tuesday March 02, 2021 @12:38PM (#26317910)
I don't understand what the tsconfig has to do with understanding the source? Maybe when using different path resolving or different tsconfigs to compile test files vs. production files?

Many toolings make it so you don't even need to worry about the tsconfig anymore (though in reality it is very helpful to understand it).

Re:How an Anti-TypeScript “JavaScript developer” like me bec... by pjmlp on Tuesday March 02, 2021 @03:34PM (#26320250)
To avoid breaking existing source bases, many features or corrections across the language versions are opt-in, so in some projects it looks like GHC feature pragmas.
Re:How an Anti-TypeScript “JavaScript developer” like me bec... by madeofpalk on Tuesday March 02, 2021 @12:54PM (#26318109)
This does not align with my experience of writing Typescript at multiple companies of varying sizes and open source projects.
Re:How an Anti-TypeScript “JavaScript developer” like me bec... by pjmlp on Tuesday March 02, 2021 @03:32PM (#26320229)
Lucky you for not having devs that would rather be using Haskell Lens and stuff like that.