this post was submitted on 06 Dec 2023
109 points (92.2% liked)

Programmer Humor

31992 readers
139 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 7 comments
sorted by: hot top controversial new old
[–] mojo@lemm.ee 15 points 9 months ago

Over confidence and coffee are the only unit tests I need

Also, it still counts as pushing straight to prod if your PR reviewer gives it a once-over and stamps it with “LGTM”

[–] DeathsEmbrace@lemmy.ml 6 points 9 months ago (2 children)

Let us be real honest, rarely your code isn't completely broken.

[–] Avg@lemm.ee 8 points 9 months ago

I once wrote a script from beginning to end that executed correctly the first time I ran, I spent the next 30 minutes troubleshooting.

[–] DawnOfRiku@lemm.ee 1 points 9 months ago

Running it in a test environment and then not having users test (vendor upgrade, in-house internal-facing app, or integration), and then being ordered to put it in prod, then people start mentioning the things they should've been mentioning all along. Can't blame them, as our timelines are short and every department is overworked and varying degrees of being understaffed.