680
B-bug? What bug? (lebowski.social)
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 14 points 2 years ago* (last edited 2 years ago)

I like the approach of when finding a bug, write a test to reproduce it, fix the bug so the test passes, next do whatever refactoring you want because you have a test passing :)

[-] [email protected] 2 points 2 years ago

This sounds like a great technique. I'll have to give it a go on Monday haha

this post was submitted on 22 Jul 2023
680 points (98.6% liked)

Programmer Humor

24206 readers
423 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