News for hackers. Stuff that matters.
Re:Ruby Is Still a Diamond by zdragnar on Thursday September 02, 2021 @10:06AM (#28392167)
There are a few patterns that TS simply cannot or is too painful to handle. I still have no idea how to define a class the old way with prototypes in Typescript, which I really only discovered when I ran into some edge cases around how static members and methods in the new class syntax were typed.

You also lose the "type out code really quickly without thinking too hard about it" and the thrill of wondering if it'll work when you load the page.

Re:Ruby Is Still a Diamond by brundolf on Thursday September 02, 2021 @11:37AM (#28393388)
"Thrill" is an interesting way to put it.
Re:Ruby Is Still a Diamond by zdragnar on Thursday September 02, 2021 @12:11PM (#28393848)
It didn't always, but it sure felt good when it did on the first try!

Needless to say, my scripting nowadays is almost exclusively Typescript.