1084
(page 2) 50 comments
sorted by: hot top controversial new old
[-] dingleberry@discuss.tchncs.de 7 points 2 years ago

Exhibitionist Devs be like.

[-] pewgar_kbin@fedia.io 6 points 2 years ago

the meme is spreading

[-] BilboBargains@lemmy.world 6 points 2 years ago* (last edited 2 years ago)

Our Father, who art in Microsoft HQ,

hallowed be thy naming conventions;

thy architecture;

thy will be done;

on earth as it is in Linus Tech Tips.

Give us this day our daily StackOverflow.

And forgive us our 'sploits,

as we forgive those who trespass against our user stories.

And lead us not into temptation;

but deliver us from a thicket of global variables.

For thine is the irritating project manager, the power and the glory,

for ever and ever.

Or at least 7 years until obsolescence.

Amen.

[-] CannotSleep420@lemmygrad.ml 4 points 2 years ago

This, but with not making unit tests instead of global variables.

[-] Blackmist@feddit.uk 4 points 2 years ago

Nothing wrong with global variables.

If anyone asks just say it's the singleton pattern.

[-] gandalf_der_12te@feddit.de 3 points 2 years ago
[-] CoWizard@kbin.social 2 points 2 years ago

Have you tried #ifdef'd global variables? Should definitely make things easier to read

[-] ipkpjersi@lemmy.ml 2 points 2 years ago

Nowadays they call it global state lol

[-] Sanctus@lemmy.world 1 points 2 years ago

Ironically, a guy named SingletonSean showed me how to avoid singletons.

load more comments
view more: ‹ prev next ›
this post was submitted on 08 Oct 2023
1084 points (96.6% liked)

Programmer Humor

22969 readers
1369 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