r/ProgrammerHumor • • Oct 10 '26

Meme weAreWizards

Post image
7.8k Upvotes

203 comments sorted by

165

u/malsomnus Oct 10 '26

Perl and PHP have sigils.

118

u/Bright-Historian-216 Oct 10 '26

so does Elixir...

Elixir?..

Elixir!!!

55

u/renetta96 Oct 10 '26

And go has Runes.

20

u/AliceCode Oct 10 '26

There's also a language called Rune.

8

u/Rikudou_Sage Oct 10 '26

Does Rune have runes, though?

33

u/Rikudou_Sage Oct 10 '26

And this is a perfectly valid PHP (see online):

$数字の二 = 5;

var_dump($数字の二);

or this (see online):

$⁂⌘〄 = "wat";

Or my personal favourite (see online):

<?php

final class (╯°□°)╯︵┻━┻ extends Exception {
    
}

throw new (╯°□°)╯︵┻━┻ ("Shit's on fire, yo!");

1

u/htmlcoderexe We have flair now?.. Oct 14 '26

i think emoji work too

1

u/Aromatic-CryBaby Oct 11 '26

In go we've got runes

38

u/aberroco Oct 10 '26 edited Oct 10 '26

You forgot about black magic. I quite regularly do it: move the stuff around by refactorings to concentrate into one spot and do some black magic there that's hard to comprehend, but it works, it keeps the rest of the program clean and easy, and it's only in one spot at the deepest architectural levels, so hopefully no one would ever find it.

Also, you forgot about glyphs, black boxes, sprites, summoning (scala), artifacts, monoliths, phantoms, salts, epochs, tar-pits, smoke tests, firewalls...

9

u/Bright-Historian-216 Oct 10 '26

oh yeah, moving blocks of code around to get a better compression size (yes, i did that for my ti84-ce calculator) is a form of magic on its own.

4

u/deadbeef_enc0de Oct 10 '26

When I was writing game for the TI-89 in C I found you can read directly from the flash without moving the block to memory, so I had a VERY large game world

2

u/aberroco Oct 10 '26

For me it has nothing to do with compression, it's usually complexity - I think it's better to have one black magic spot or a class/method that breaks patterns and maybe even good practices with cleaner and simpler architecture in all other places than having a bunch of workarounds/crutches here and there or few more abstraction layers. Because even though it's hard to read and understand that spot - that's a single time cost to read and understand it, and if done right - new teammembers might not even need to understand it if it just works, whereas the latter is a scaled growing cost.

9

u/Pataraxia Oct 10 '26

r/wizardposting would welcome this thread.

1

u/Temp_Placeholder Oct 10 '26

Invocations too.

20

u/DoctorWaluigiTime Oct 10 '26

And just, networking in general. Especially wireless networking. How we got it to work is well as it does must've involved the mystic arts at some point.

8

u/Bright-Historian-216 Oct 10 '26

oh absolutely. the boundary between technology and magic is but what is real and what is not.

that probably sounded much more profound in my head.

15

u/MikeW86 Oct 10 '26

And the speed. If you count the number of things that have to happen in a perfect order between me clicking a mouse button and a new webpage appearing on my screen, the fact that that can all happen in less than 1 tenth of 1 second is mindboggling.

3

u/Agent_03 Oct 10 '26

"Ethernet" -- it's right there in the name.

1

u/kbitreddit Oct 11 '26

I'm convinced that a step in manufacturing a wireless networking components is to sacrifice a goat to the gods.

1

u/Dr_Jabroski Oct 13 '26

Oh that's warlock territory, making deals with Eldridge beings.

36

u/Sharp_Emphasis176 Oct 10 '26

So programmers are wizards? That makes ai helpful npcs?

7

u/Bright-Historian-216 Oct 10 '26

more like... easy difficulty.

you'll never learn to play the game if you only play on easy.

2

u/Bloodchild- Oct 10 '26

And sometime easy takes you only to the first part of the game

21

u/maniclucky Oct 10 '26

More demonic minion that is definitely plotting against you, but being helpful* in the meantime.

3

u/tknomanzr99 Oct 10 '26

Morte from Planescape Torment: full of pithy comments but otherwise nearly useless.

2

u/DMoney159 Oct 10 '26

So Shovel from BG3

5

u/redaemon Oct 10 '26

Pretty sure we're adeptus mechanicus now. I talk to the Machine Spirit constantly at work.

3

u/ResponsibleWin1765 Oct 10 '26

More like the Luigi showing up after you died 5 times in Super Mario Galaxy, asking you if he should do the entire level for you

3

u/fucking_passwords Oct 10 '26

You're a programmer Harry

3

u/shifty_coder Oct 10 '26

It’s still just runestones and magic words, brother.

The runes just got more intricate and the stones more pure and specific.

0

u/Tensor3 Oct 10 '26

Pretty sure AI prompting is less pure and less specific than writing actual code

2

u/PenGroundbreaking160 Oct 10 '26

You cannot just compare a carefully cast spell with a trained golem or spirit that can cast spells.

3

u/uvero Oct 10 '26

The wizard will now install your software.

1

u/waadam Oct 10 '26

Don't forget we, programmers are creators of said wizards and all magic artifacts mentioned on list. Wait, we also create artifacts any quantity, just on demand. We are gods. Puny gods but still gods.

3

u/large_spotted_cat Oct 11 '26

Depends on your casting style. Personally, I prefer to think of it as sourcery; although we ride on the shoulders of giants, the creation of new magic is what separates us from our familiars; although I do love a good runic feline.

1

u/Correct_Ad5798 Oct 10 '26

More the Devil Survivor kind of summoning Demons. Actually I am all for it.

1

u/TS3301 Oct 10 '26

More like magical construct familiars

1

u/IONaut Oct 11 '26

More like summoning demons.

1

u/Denaton_ Oct 11 '26

AI is familiars

1

u/SteakHausMann Oct 13 '26

AIs are the wizards familiars

852

u/mteblesz Oct 10 '26

"magic numbers" spell is stricktly forbidden technique, banned by most schools of programming. There are many rogue wizards though...

132

u/oldsecondhand Oct 10 '26

The real forbidden technique is illegal numbers.

28

u/stupled Oct 10 '26

This isn't magic, this is just a legal issue.

28

u/benjaminovich Oct 10 '26

You make it sound like we're talking about something silly like the state passed a law defining pi as 3 or 4 (I forget which).

But really it's just that any illegal content of any kind that is digitized will ultimately "just" be numbers at a certain level.

8

u/scumble_bee Oct 10 '26

Yeah, every image can be broken down into a series of pixels with x,y,r,g,b . So owning a text file with a number that can be extrapolated into an illegal picture is still illegal (at least that is what I think it means).

4

u/SoldRIP Oct 10 '26

So isn't the idea that pure information, like a number, could possibly be illegal a ridiculous one!? Surely knowledge cannot be banned in any free society?

2

u/Furyful_Fawful Oct 11 '26

The freedom of knowledge is antithetical to the concept of trade secret, or copyright, or patent. Virtually all piracy is just the sharing of numbers

4

u/SoldRIP Oct 10 '26

That's just the warlocks' guild and their idea of forbidden techniques. A wizard does not care for such things!

(It's lawyers. Because you see they, too, form contracts with sketchy wording that screw you over at great cost to their mental and often physical health)

2

u/bikemandan Oct 10 '26

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

33

u/Suske15 Oct 10 '26

ImageMagick catching strays for absolutely no reason

7

u/Wild_Marker Oct 10 '26

At least Partition Magic is ok.

16

u/StrengthTheory Oct 10 '26

I tell you they're not magic numbers, it's just 0 and 1

44

u/ArkWaltz Oct 10 '26

Actual real lines that were in my old work's codebase:

private final int ZERO = 0;
private final int ONE = 1;

Turns out having a linter blanket-deny all forms of 'magic number' had some odd results.

16

u/StrengthTheory Oct 10 '26

That's just good defensive programming in case the client decides tomorrow that all ones are now zeroes and vice versa. You never know.

9

u/iZian Oct 10 '26

I think in Java we have BigDecimal statics for zero and one.
Then again with a million records being processed and 90% needing a zero; it did save in 900k objects.
But for a primitive…

3

u/Spaceshipable Oct 10 '26

Swift has a builtin `.zero` as part of one of the numeric protocols. It’s handy for when you’re doing maths on generic types. I could see a `.one` being handy. Apparently Swift’s SIMD has that defined.

4

u/Chirimorin Oct 10 '26

C# has .Zero and .One for numerics as well, I can confirm that they're really handy when working with generic types.

6

u/ButWhatIfPotato Oct 10 '26

I have yet to meet an unfirable elder wizard who does not literally exfoliate magic numbers from every pore. I dare not question them for they are the only ones who know how to tame that severely crusty self-conscious fully sentient ancient tome wrapped in the skin of 1000 inbred homunculi, for if you anger it, it will surely take down the guild in a spectacular exploding fashion.

4

u/tknomanzr99 Oct 10 '26

Welcome to the Temple of the Binary God. Prepare to be integrated into the mainframe. Welcome to the collective.

6

u/kn33 Oct 10 '26

There's one exception: The fast inverse square root.

1

u/UntitledRedditUser Oct 10 '26

There is another (insert Yoda)

detecting corruption or endianness

1

u/Shot_in_the_dark777 Oct 10 '26

Evil floating point bit hack!

3

u/Sibula97 Oct 10 '26

They're approved for use as format identifiers though.

2

u/genreprank Oct 10 '26

Magic numbers, bad

Magic filenames and foldernames, all the guru programmers use them.

1

u/sweetytoy Oct 10 '26

It's funny that our operating system boot thanks to a magic number

108

u/[deleted] Oct 10 '26

[removed] — view removed comment

6

u/Pataraxia Oct 10 '26

I'm just a lurker but "What the fuck" as a comment got me wheezing lmao.

2

u/ryancnap Oct 10 '26

The work of John Carmack can not be compared to that of mortal men

2

u/uniqueusername649 Oct 10 '26

While I wouldn't claim to be on his level, he did what all good programmers do and copied it from someone else too, haha. But he did make it popular!

6

u/maizemin Oct 10 '26

polymorphisms mentioned 😎 

5

u/Bright-Historian-216 Oct 10 '26

🐑🐑🐑baaaa

1

u/FriedryIce Oct 11 '26

???

1

u/Bright-Historian-216 Oct 11 '26

polymorph is a spell from warcraft i think? it turns the targeted unit into a sheep

6

u/SnakeModule Oct 10 '26

And we command goLLMs to do our bidding.

5

u/Bright-Historian-216 Oct 10 '26

we? who's we?!

you're a fallen man, consulting with the forces of the dark.

...

i've... been there. i've touched the void!

...

the void stared in return.

...

...i am not coming back to darkness. not until there's a task unsolvable without it - and so, so many tasks are solvable without it.

1

u/htmlcoderexe We have flair now?.. Oct 14 '26

was it a static void?

4

u/theStaircaseProject Oct 10 '26

“Mmmm, it still reads too aggressively. Can you soften the tone and reduce the word count by 20%?”

“Yess… masster…”

3

u/Bla_Z Oct 10 '26

And we're all 30+ y.o virgins with eccentric fashion choices. The signs were there all along really.

...We're all like that, right?

2

u/Bright-Historian-216 Oct 10 '26

oh yes, most definitely.

1

u/htmlcoderexe We have flair now?.. Oct 14 '26

yes yes totally

3

u/Bmandk Oct 10 '26

I know about all of the concepts except curses, anyone who can enlighten me?

2

u/Bright-Historian-216 Oct 10 '26

curses is a python library for making colourful terminal output iirc

4

u/LawfulnessDue5449 Oct 10 '26

It is a c library for terminal UI

1

u/PseudoFrequency Oct 10 '26

curses is much older than python.

1

u/Bright-Historian-216 Oct 10 '26

i see! interesting!

1

u/BetterEquipment7084 Oct 10 '26

It's a C libraryz Python only uses ffi binds, most of Python is implemented in c/c++, this is also true for the libraries. This is as python is slow as shit

1

u/Bmandk Oct 10 '26

Thanks!

1

u/itzNukeey Oct 10 '26

I knew about colorama but not curses lol

1

u/itzNukeey Oct 10 '26

I knew about colorama but not curses lol

1

u/Mother_Lemon8399 Oct 12 '26

I also didn't know that one, but I haven't really used python much. I thought maybe it was a misspelling of "import clauses"

2

u/PseudoFrequency Oct 10 '26

Don't forget typing the arcane magic incantation in the command line to bring your work to life!

1

u/Bright-Historian-216 Oct 10 '26

never thought about it that way, but smashing the enter key into the keyboard at the end is my personal casting ritual

2

u/das_menschy Oct 14 '26

And you didn't even mention lambda functions!  That's sorcery! 

1

u/Bright-Historian-216 Oct 14 '26

i don't actually see them as anything difficult. arguments go in, outputs come out. there is a bit of sorcery if you mean C++ lambdas (does C have lambdas?) with closures and stuff, but it's not difficult to get a grasp of the general idea.

1

u/das_menschy Oct 14 '26

I still think it's a bit of magic, because anonymous functions don't have a name. That's like talking to someone without knowing his name, while being in a crowd or far away from each other. 

1

u/Bright-Historian-216 Oct 14 '26

i think of it more like phone numbers. you don't have to know the name of the person you're calling, you only need a way to communicate with them. if you have an array of lambdas, for example, the index is the phone number.

124

u/DeathNick Oct 10 '26

I think we just look like wizards to non tech savvy people. Advanced enough tech indistinguishable from magic and all that. Except John Carmack. That guy actualy is a wizard.

22

u/hates_stupid_people Oct 10 '26

A surprising amount of non-tech people think any sort of programming is basically writing things out in binary, or require some arcane levels of knowledge(they don't know how often programmers look things up).

At one place I worked there was a guy who was essentially coding in his spreadsheets. But he kept insisting that programming was too complicated for him. He was a complete non-tech person outside of work and to him, he was just "automating some math"...

9

u/trig9ger Oct 10 '26

After like 2 years of CS uni I finally understood that in no way am I to be expected to know every library and function like some cinema hacker, it's more about understanding how to learn them faster

12

u/sweatierorc Oct 10 '26

Funny his last two big bets VR and AGI didnt really work out.

Too early for VR and for AGI he bet on the wrong things.

6

u/DeathNick Oct 10 '26

Idk I think he made VR possible. I think the tech is mature and extremely fun. I have PSVR2 on pc myself. I heard him say he's going to do AI next a few years ago, but didn't see any news out of it yet. It did take years for the first consumer oculus to come out, so maybe he's still cooking with ai

3

u/sweatierorc Oct 10 '26

Dude is smart, but hardware luck was not on his side these past few years. VR is still too bulky for mainstream adoption. And he never had access to the massive compute required to build modern AI.

2

u/nedonedonedo Oct 11 '26

wizards read other people's work for years until they're ready to splice together their own spells

sorcerers just free hand it like that one guy we all know that looks at you like how do you not get it when you ask a question

81

u/SudoSubSilence Oct 10 '26

Python is Parseltongue

11

u/chat-lu Oct 10 '26

Parsertongue.

27

u/korneev123123 Oct 10 '26

We inscribed rocks with arcane sigils and tricked them into thinking by casting litanies. No magic whatsoever.

4

u/Nimeroni Oct 10 '26

by casting litanies

No, just forcing lightning into them.

10

u/marcodave Oct 10 '26

Let's look at what the data scientists have to say...

from china import pandas

Oooookk

7

u/unicorngundamm Oct 10 '26

Go has runes

5

u/The_AverageCanadian Oct 11 '26

We tricked rocks into thinking by putting runes on them. It's magic.

4

u/Prematurid Oct 10 '26

Sometimes, when I rerun it after changing nothing, it works.

One project fails to run if you console.log it. Works perfectly without any console.logs.

I am a shit wizard.

2

u/trig9ger Oct 10 '26

At that level you're pretty much an alchemist

1

u/Motleypuss Oct 10 '26

I had an issue with my BASIC interpreter where the lexer wouldn't run without console.log(), but still runs fine with them. Go figure!

1

u/Prematurid Oct 10 '26

That "huh" feeling you get when you realize the issue makes me laugh to this day. It is such a dumb thing to go wrong.

1

u/LadyZaryss Oct 11 '26 edited Oct 11 '26

It is likely because the brief moment of CPU time consumed by the console.log is exposing that theres a race condition in your code somewhere. Replace the console.log with a wait/sleep/delay and see if it still crashes, if it does you have a race condition somewhere.

2

u/Prematurid Oct 11 '26

I figured it had to be something like that, but for my purposes it works as it is, so I decided to leave well enough alone. It is just a personal project that I use occasionally.

Still makes me laugh though.

1

u/drifwp Oct 10 '26

Sand magic?

3

u/AngelaMerkeI Oct 10 '26

Clearly sorcery and not magic

3

u/ThatDudeFromPoland Oct 10 '26

I mean, we inscribe runes onto stones to make them think for us

3

u/tendervittles77 Oct 10 '26

Dealing with AWS IAM is very close to sorcery.

Something doesn’t work?

Consult the tomes for the proper incantation.

3

u/sir_lister Oct 11 '26

If programers are wizards, what be the practitioners of the eldritch arts of RF engineering?

3

u/H4llifax Oct 12 '26

I have said before that debugging is sometimes more exorcism than engineering. And now we even have artificial spectral familiars helping us with the exorcism.

3

u/DogmaticParadigm87 Oct 11 '26

And when none of it works, you sacrifice a weekend and chant sudo.

3

u/Trip-Trip-Trip Oct 11 '26

Convert to pdf, it's a religion actually

5

u/dmullaney Oct 10 '26

There is a great series of books, by a guy called Scott Meyer (not Meyers)

https://www.goodreads.com/en/book/show/18616975-off-to-be-the-wizard

4

u/Elendur_Krown Oct 10 '26

I love that book! I sent it to my brother as soon as I finished it. It's a light read, and I recommend it to almost anyone who has a good interest in fantasy, sci-fi, or programming.

2

u/yeGarb Oct 10 '26

next level techbro self-jerk frfr

4

u/CrossScarMC Oct 10 '26

There is a genuine term called "swizzling". You think that's not magical?

5

u/Mediocre_Chart_8624 Oct 10 '26

That sounds like a jazz term

1

u/Minecraftian14 Oct 10 '26

I had to read it twice because the first time i didn't even realise what's strange/magic

1

u/Tupcek Oct 10 '26

to be fair, everything since invention of electricity is magic, at least to me. Me writing magic books is the least fascinating thing of it

1

u/stupled Oct 10 '26

So we took some concepts from magic. Big deal. Most of our concepts come from biology.

1

u/Hybr1dth Oct 10 '26

That's what you get when nerds get to name stuff. It all sounds cool!

1

u/Feuerhamster Oct 10 '26

Svelte has Runes now btw

1

u/HansWolken Oct 10 '26

I just know the people who developed this were playing dnd at night

1

u/HansWolken Oct 10 '26

So pirated software is installed by the warlock instead?

1

u/Geralt31 Oct 10 '26

And we run all this on fancy rocks with litteral miles of runes engraved on them

1

u/Soilblood Oct 10 '26

If they can't explain it, it's magic. That's just how the world works. It's why we hide our true deep arts away from the light of day so muggles will never see the true miracles we use to make perfect first try pancakes.

1

u/Valuable_Victory_271 Oct 10 '26

Praise be to base devel!

1

u/ekemp Oct 10 '26

This reminds me of a story: A BSD sys admin was on travel somewhere in the Deep South. Being a tech geek, the sys admin wore a shirt depicting the BSD Daemon mascot. The sys admin was subsequently harassed by locals who believed the shirt was Satanic.

1

u/Jbolt3737 Oct 10 '26

Cookie means magic cookie

1

u/mstop4 Oct 10 '26

There are also some other pieces of really old hacker jargon that relate to magic or mysticism that come to my mind, like “deep magic” (important parts of code that no one but the author knows how it works), “heavy wizardry” (writing code that requires intimate knowledge of the system it’s written for or the programming language it’s written in), and “casting the runes” (what a senior developer does to debug code, from the perspective of a junior or non-developer).

For those interested, you should give The Jargon Lexicon a read.

1

u/Tortsinreddit Oct 10 '26

Libraries are a thing as well, like those magic ones

1

u/jolharg Oct 10 '26

you still use installation wizards? yall are noobs, you gotta use the metapackage!

1

u/tknomanzr99 Oct 10 '26

See: I have this magic rock and I put spells in it. When I need those spells later I can call them up.

1

u/Primary_Durian4866 Oct 10 '26

You're telling me a group of nerds, who grew up with the concept that wizards use words to make things happen, got jobs in a field where you use words to make things happen, then started naming things so they'd sound like they were wizards?

I don't buy it.

1

u/SynthPrax Oct 10 '26

Don't forget mixedmodemagic.

1

u/fibojoly Oct 10 '26

It absolutely is magic. We just don't want to frighten the sleepers or attract attention from The Laundry. 

1

u/Exciting-Possible773 Oct 10 '26

It is to me because I am shaping my thoughts into reality....and ended up summoning flying spaghetti code monster. Yes, I am a vibecoder, who toys with something I completely not understand and thought they are under total control.

1

u/tehlemmings Oct 10 '26

Not magic? By using esoteric knowledge that I've sought out over a lifetime of learning I can control lightning with rocks to produce nearly any result I wish.

With an appropriate somatic application and the weaving of energies, I can produce light. Just ignore that what I said was "hey Google, turn on the lights."

I am the IT wizard. I know because I added itwizard to my proxaddesses.

1

u/Agret Oct 10 '26

Imagemagick on php is legit wizardry

1

u/AlxR25 Oct 10 '26

Did you know, the installation wizard got its name because back in the day when computers first became personal, people who knew how to install programs on them were called wizards.

1

u/NaoPb Oct 10 '26

Nice. Now I need to get me a blue robe with stars on it.

1

u/inemnitable Oct 10 '26

Dependency injection frameworks are automagical right up until you need to do something complicated or god forbid debug one. That's when you discover that Hic Svnt Leones.

1

u/megagreg Oct 10 '26

I always thought of casting as being like making a mold, not casting a spell.

1

u/buckypimpin Oct 10 '26 • Popcorn

go TesticularTorsion()

1

u/BearCavalryCorpral Oct 10 '26

A programmer is someone who uses a language most people can't understand to make rocks think. Get one letter of the instructions wrong, and they just won't work, or will create a disastrous effect. Sounds like magic to me

1

u/Dumb_Siniy Oct 10 '26

These runes tiny as hell

1

u/Muhznit Oct 10 '26

Sometimes I wonder if some fantasmal elements of what we call magic was actually real at some point in the past but between witch hunts and scammers, some knowledge was lost to time...

...It'd be a shame to let AI kill our second magic system.

1

u/LetUsSpeakFreely Oct 10 '26

And then we created homonculi to cast spells for us.

1

u/Morthem Oct 10 '26

Yeah, and as any field, it has huge specializations... For example, if you are big on alchemy, you probably suck at making golems. That is another route which you probably could take as well if you wanted, but the years in a life are not enough to acquire all the knowledge a soul yearns for...

1

u/Shot_in_the_dark777 Oct 10 '26

Float and double are legit spell names :)

1

u/IONaut Oct 11 '26

I've been saying for years now that science and technology are, in fact, magic, but with the mystery and spiritism association taken out, because the only way to achieve the effects we were going for was through the scientific method which eventually disproved the need for that side of it. We live in a world of high magic and most don't even realize it.

1

u/Aromatic-CryBaby Oct 11 '26

I looked up the web assembly doc in order to implement a language that compile directly to it's binary standard, F anyone who saw my screen looked at me as if I was merlin reincarnated.

1

u/ovr9000storks Oct 11 '26

You forgot that we tell rocks how to think

2

u/root54 Oct 11 '26

Now we tell rocks what to tell the other rocks

1

u/sardonicus87 Oct 12 '26

I wish it was magic, I'm not convinced programatic language localization separate from device locale (at least in Android) still requires nothing less than a blood sacrifice. Like htf is it 2026 and this is still a nightmare? But hey, "pretty colors, oooh shiny". Not a single Medium article from a year ago or StackOverflow from 2+ years ago works right, nor the only localization guide in Android's own documentation (which itself is out of date).

1

u/sarcasticphobia Oct 12 '26

If you ever doubt that programming is magic just remember that we carved runes into rocks and sand that made them think.

0

u/Arareldo Oct 10 '26

... cast value of variable (or spell? ;-) ) ...

0

u/elmar008 Oct 10 '26

Puplic static void main(String[]args)

Base of the magic incantation

0

u/seth1299 Oct 10 '26

Sure, blame the wizards.

1

u/pateppic Oct 10 '26

Wait till people hear about forking, and killing children/orphans

1

u/redditydothis Oct 10 '26

Kill children

0

u/Snakestream Oct 10 '26

Kill child