848
fuck the tests (lemmy.dbzer0.com)
you are viewing a single comment's thread
view the rest of the comments
[-] RagingRobot@lemmy.world 39 points 9 months ago

Tests are just booby traps for the other engineers so they don't break your code by mistake.

[-] DacoTaco@lemmy.world 13 points 9 months ago* (last edited 9 months ago)

Its funny cause its true. I often design tests to be "if a case/enum value is added this test will explode and tell them to add code here"

[-] silasmariner@programming.dev 8 points 9 months ago

This is why I like strong type systems with exhaustivity checks

[-] DacoTaco@lemmy.world 2 points 9 months ago* (last edited 9 months ago)

Saaaaame. But sometimes even strongly typed stuff wont break on compilation time

[-] silasmariner@programming.dev 1 points 9 months ago

'spose that's true enough

load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 24 Sep 2024
848 points (98.7% liked)

Programmer Humor

24815 readers
777 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