this post was submitted on 28 Jun 2025
1081 points (99.2% liked)

Programmer Humor

24610 readers
1063 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Scoopta@programming.dev 35 points 2 days ago (9 children)

As someone who mostly avoids JavaScript, I don't see the IT in this image, I just see a bad language I avoid!

[–] blackn1ght@feddit.uk 15 points 2 days ago (6 children)

This isn't the languages fault, it's the developers.

[–] sukhmel@programming.dev 6 points 1 day ago (1 children)

Albeit true, I want to note that some languages encourage such practices way more than others do. Also, when you've got a hammer everything looks like a ~~string~~ nail.

[–] blackn1ght@feddit.uk 1 points 1 day ago

In my mind a simple unit test should have caught this. Mock out the call to the service that sends the message and verify that it's been called with the correct message, and cover the possible failure scenarios. That said I hate loosely typed languages lol.

load more comments (4 replies)
load more comments (6 replies)