this post was submitted on 04 Jul 2025
175 points (98.3% liked)

Programmer Humor

24790 readers
588 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] vivendi@programming.dev 0 points 12 hours ago* (last edited 12 hours ago) (1 children)

You could also not be an idiot and write a debug script that checks those values or atleast provides an interface

But I guess they don't teach that kind of thing in the javascript and python school of dogshit programming

[โ€“] squaresinger@lemmy.world 1 points 11 hours ago* (last edited 10 hours ago)

Who pissed in your coffee?

Sure you can write some script to interpret the data, but then you need to write an extra script that you need to run any time you step through the code, or whenever you want to look at the data when it's stored or transferred.

But I guess you have never worked on an actually big project, so how would you know?

I guess you aren't entirely wrong here. If nobody other than you ever uses your program and nobody other than you ever looks at the code, readability really doesn't matter and thus you can microoptimize everything into illegibility. But don't extrapolate from your hobby coding to actual projectes.