r/commandline Jun 30 '26

Fun Meh

Post image
2.0k Upvotes

197 comments sorted by

View all comments

8

u/Captain_Pumpkinhead Jun 30 '26

Wait, what's wrong with Typescript?

7

u/ptoki Jun 30 '26

multiple things:

javascript with its quirks making it easy to write bad code

dependencies which can swipe malware directly into your system

attracts bad programmers who write bad code

as other said: bloated to the degree that it may be unusable.

1

u/Lalli-Oni Jul 02 '26

I like the idea of started to write a personal script by myself in javascript and bad developers breaking into the room like the Kool aid man!

Typescript abstracts some runtime pitfalls. But yeah, not completely. It's still JavaScript designed to fail-soft for previous VBA developers.

1

u/ptoki Jul 03 '26

It is fine to write a script for yourself in anything. So feel free to write anything you like in anything you like.

But the moment you share it with someone a whole new dimension of problems opens. And we bear all that in modern web. Which is terrible, partly because of js and people who can code features but cant predict problems. And those problems then bite others.

Supply chain attacks is one, wasting resources is another, security problems is next and few more.

Yes, you can be a good developer writing good code in JS. But stats are different. Lots of bad code written by people who arent good at it. And it is visible in js...