News for hackers. Stuff that matters.
Re:The Top Programming Languages 2025 by hk__2 on Wednesday September 24, 2025 @04:35AM (#45357767)
Have you worked with TypeScript? I’m working with both every day and I’m always frustrated by the limits of the 'type' system in Python- sure it’s better than nothing but it’s so basic compared to what you can do in TypeScript. It’s very easy to use advanced generics in TypeScript but a hell to do (sometimes outright impossible) in Python.
Re:The Top Programming Languages 2025 by superlopuh on Wednesday September 24, 2025 @05:44AM (#45358122)
Yep, although never in a project of a similar size. One advantage of the Python setup is that the types are ignored at runtime, so there's no overhead at startup/compilation time. Although it's also a disadvantage in terms of what you can do in the system, of course.
Re:The Top Programming Languages 2025 by hasperdi on Wednesday September 24, 2025 @07:44AM (#45359005)
Deno and latest versions of Nodejs run TS code without transpilation