News for hackers. Stuff that matters.
Re:TypeScript 3.6 by Old_Thrashbarg on Wednesday August 28, 2019 @06:09PM (#20824549)
> However I think it’s important to have used both for a while so you can make a good decision what you prefer.

Exactly, I always found static typing to be annoying clutter and Python seemed to work even at scale. I removed the few type hints the codebase had.

Then I had to spend a year in C# professionally. At the end, I was fine with both, no preference. Then I jumped back into our Python and only then realized the utility of typing - it felt chaotic, my (IntelliJ) IDE was no longer helping me and every time I had Prod type related bug, it feeling dumb.

Ended up type hinting the critical parts of the Python.

Re:TypeScript 3.6 by Ididntdothis on Wednesday August 28, 2019 @06:11PM (#20824575)
I am also starting to embrace a mix. “Any” in TS or “dynamic” in C# can save a lot of code when parsing JSON but then I usually quickly try to move over into the typed world.
Re:TypeScript 3.6 by tomtomau on Thursday August 29, 2019 @12:21AM (#20826661)
`unknown` is also a really convenient type too: https://www.typescriptlang.org/docs/handbook/release-notes/t...

I think of it as "I don't care what the type is, but I also shouldn't be able to do anything with it"