this post was submitted on 08 Sep 2023
541 points (94.1% liked)

Programmer Humor

19589 readers
651 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
[–] darcy@sh.itjust.works 28 points 1 year ago (2 children)

typescript is a bandaid on a severed leg

[–] JakenVeina@lemm.ee 7 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.

[–] fidodo@lemm.ee 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.

[–] MajorHavoc@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (2 children)
[–] darcy@sh.itjust.works 3 points 1 year ago

image not found :(

[–] Kuresov@programming.dev 3 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 :)