this post was submitted on 02 Nov 2023
1414 points (98.6% liked)

Programmer Humor

32710 readers
299 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] ChickenLadyLovesLife 4 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I don't think I'll forget.

This is true Customer empathy.