1406
Tests are code too (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] jbrains@sh.itjust.works 3 points 1 year ago

Yikes! That's also a great cautionary tale for Primitive Obsession/Whole Value as well as a bunch of other design principles.

I'm thinking about how I'd have done that refactoring and now I wish I had the code base to try it on. It sounds like it would make a really good real-life exercise in a workshop. "Remember folks, you have to get this right. There's not really a way to check this with the real hardware, and if you get it wrong, someone's going to get hurt."

Thanks again.

Well, I have a rule now which is "never test your shit on Little Leaguers" and nobody I've worked with has any idea what that means.

[-] jbrains@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago)

I don't think I'll forget.

This is true Customer empathy.

this post was submitted on 02 Nov 2023
1406 points (98.5% liked)

Programmer Humor

32410 readers
282 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS