768
Unexplained Phenomena (s3.us-east-005.backblazeb2.com)

Source: https://musicians.today/@barnetboy/113475747574177779

Mastodon: @barnetboy@musicians.today

you are viewing a single comment's thread
view the rest of the comments
[-] nogooduser@lemmy.world 12 points 2 days ago

I used to work on an old DOS product and we didn’t have a debugger so we used to have a DEBUG command line argument with

if (DEBUG) printf(“debugging”);

to try to see what was happening and the number of times that code alone fixed the problem was scary.

[-] psycho_driver@lemmy.world 5 points 1 day ago

I mean . . . I still do this on my own stuff. If I'm interested in optimizing for speed I'll do it as #ifdef instead of if ()

this post was submitted on 13 Nov 2024
768 points (99.5% liked)

Programmer Humor

19551 readers
592 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 1 year ago
MODERATORS