Re:TypeScript is now officially 10 years old
by fifticon on Sunday October 09, 2022 @10:00AM
(#33141115)
well I can, I wrote a year-long js project that I abandoned as refactorings gradually turned into eternal bug-fests. I started from scratch in typescript, and the project is now 3x the dead project, with none of the bugs. and refactorings have become painless, with the compiler tools and editor telling me what I must fix up.
There may be a special breed of programmers who need no such help, but I have yet to meet them in my 32+y long professional programming career :-)
[ Parent
| on HN ]
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?