1109
you are viewing a single comment's thread
view the rest of the comments
[-] blackn1ght@feddit.uk 0 points 11 months 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.

this post was submitted on 28 Jun 2025
1109 points (99.1% liked)

Programmer Humor

31593 readers
1590 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 3 years ago
MODERATORS