News for hackers. Stuff that matters.
Re:TypeScript is now officially 10 years old by mixmastamyk on Sunday October 09, 2022 @02:54PM (#33144134)
You still have bugs, you just haven't found them yet. When strict typing is not available you adjust and use other tooling and tests.

Of course with a big, venerable project the balance changes drastically. But an experienced single-person project should be doable with javascript for a long while and may even get to MVP faster by focusing on things that are essential.

Re:TypeScript is now officially 10 years old by CodeWriter23 on Sunday October 09, 2022 @06:21PM (#33145864)
I’ve been coding professionally for 39 years. ts seemed very strange to me at first. Only even started using it because I had to do some customization in NetSuite and some third party type and build support in ts made comprehensible the typically-stilted and insane NetSuite js required by SuiteScript.

Now I’m addicted to it. Specifically the lightweight and easy to use _interface_ directive feeds my practice of self-documenting code with good doc and reusable data structures.

Re:TypeScript is now officially 10 years old by redanddead on Monday October 10, 2022 @02:33AM (#33148446)
what's your favorite thing about interfaces and why?