this post was submitted on 02 Feb 2024
1029 points (98.5% liked)

Programmer Humor

32710 readers
307 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
[–] c0mbatbag3l 8 points 11 months ago (8 children)

Shouldn't be forgetting for one off scripts either, if that's the logic you want to go with.

The tool exists, either you do it or you don't and end up getting an error until the interpreter hits that line. It's just the nature of being compiled at runtime.

[–] [email protected] 5 points 11 months ago* (last edited 11 months ago) (7 children)

“Ohh, I got all these numbers I want to crunch using numpy or pandas and plot it using matplotlib. Hold on, I just need to write unit tests first.”

[–] [email protected] 2 points 11 months ago (5 children)

Well. Yeah. That's test-driven development. It's a very good practice.

[–] rambaroo 1 points 11 months ago

TDD is not appropriate for everything or everyone

load more comments (4 replies)
load more comments (5 replies)
load more comments (5 replies)