368
submitted 1 year ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 218 points 1 year ago

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] 109 points 1 year ago

This is what they mean by test driven development.

[-] [email protected] 5 points 1 year ago
load more comments (15 replies)
this post was submitted on 25 May 2024
368 points (98.4% liked)

Programmer Humor

36208 readers
300 users here now

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

Rules:

founded 5 years ago
MODERATORS