this post was submitted on 16 Sep 2024
222 points (84.7% liked)

Programmer Humor

19187 readers
1113 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
[–] cbazero@programming.dev 21 points 3 days ago (3 children)

Dynamic typing, special and unique syntax for every language feature, interpreter intrinsics

[–] tux0r@feddit.org 15 points 2 days ago (2 children)

Dynamic typing is the source of very amazing errors, see JavaScript.

[–] sus@programming.dev 9 points 2 days ago (1 children)

I think the problems there are exacerbated a lot by over-eager type coercion and other crappy design decisions inherited from almost 30 years ago

[–] barsoap@lemm.ee 5 points 2 days ago

Yep lua and lisp/scheme are also unityped and not even close to as broken. All are remarkably similar languages, theory-wise.

...also something something Guido not getting tail call elimination and people sending him copies of the wizard book. It's been a while.

(And, yes, lua does proper tail calls).

[–] Brahvim@lemmy.kde.social 5 points 2 days ago

[object Object]

!Reddit moment.!<

[–] TheHarpyEagle@pawb.social 2 points 2 days ago

Honestly, I've been using type hints very heavily since they became a thing. I just use IDE completion too much to do without them.

[–] joyjoy@lemm.ee 6 points 2 days ago (1 children)

Operator overloads, descriptor protocol, decorators

[–] xmunk@sh.itjust.works 7 points 2 days ago (1 children)

Operator overloads are excellent for readable code when used well - I object to their inclusion on this list.

[–] joyjoy@lemm.ee 4 points 2 days ago

As long as you don't have to implement it yourself.