this post was submitted on 08 Sep 2023
547 points (94.2% liked)

Programmer Humor

19652 readers
1718 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 1 year ago (2 children)

typescript is a bandaid on a severed leg

[–] [email protected] 8 points 1 year ago (1 children)

More like a tourniquet and a prosthetic. It doesn't solve the underlying problem, but it's the best solution we've come up with.

[–] [email protected] 2 points 1 year ago

I view it more like a powered exoskeleton around a blob fish. IMO static typing is way more valuable than strong typing and I'd take static typing only over strong typing any day if I can only choose one.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)
[–] Kuresov 4 points 1 year ago* (last edited 1 year ago)

Mypy is just okay. Haven't used TS to know the dark corners there, but any type system that's bolted on to the language is going to have dark corners in the best case.

It's better than no type system, however. I remember when typed languages were "bad" because it "slowed you down" and "wasn't necessary if you know what you're doing"... how naive I was when I repeated those words so many years ago :)

[–] [email protected] 3 points 1 year ago

image not found :(