this post was submitted on 25 May 2024
359 points (98.4% liked)

Programmer Humor

31214 readers
104 users here now

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

Rules:

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

See your problem is you're editing the code until it passes the tests. It's way easier if you edit the tests until it passes the code.

[–] [email protected] 108 points 1 month ago (1 children)

This is what they mean by test driven development.

[–] [email protected] 5 points 1 month ago
load more comments (15 replies)