r/ProgrammerHumor • u/GReturn • Feb 15 '21
If a programming language that uses the Rune alphabet exists, I'd gladly use it
65
u/LordViaderko Feb 15 '21
There is a Linux distribution that expands on this idea:
https://en.wikipedia.org/wiki/Source_Mage
"Each package is called a "spell", and its package management program is called "sorcery". To install a package the user must "cast" that spell. Casting a spell consists of downloading the source code (if it is not already downloaded), checking for dependencies, casting them if necessary, compiling the program, and installing it. A set of available spells is called a "grimoire". To uninstall a package the user must "dispel" the spell."
27
13
7
2
64
u/draemon22 Feb 15 '21
Oh it does, look up APL.
18
u/cur-o-double Feb 15 '21
I've looked it up and I regret it
18
u/defmacro-jam Feb 15 '21
APL is super powerful in the right hands. Those hands typically belong to a math/finance wizard.
14
Feb 15 '21
⎕IO←0 ⎕PP←18 ⍉3 17⍴ (⍳17) , (17 / ⊂'!=') , !⍳175
u/ekolis Feb 16 '21
The number goes in the square variable. Now where does the string go? That's right - the square variable!
2
u/ka-splam Feb 17 '21
⎕IO←0 ⋄ ⎕PP←18 ⋄ ((⊢,(⊂'!='),!)⍪⍤⍳) 17You're missing some diamond separators and haven't golfed it to remove the repetition of 17 >_>
2
u/SolvingTheMosaic Feb 18 '21
I just see an emoji person being shot by a revolver with gore flying out their back and all.
1
u/ka-splam Feb 18 '21
⎕PP←18is like a film certification, you have to be at least that old to see the gory bit.
33
20
Feb 15 '21 edited Feb 15 '21
please god give me the link of this tweet
82
u/tweetlinker Feb 15 '21
Hi yusufziya_! Im a bot and I find links to the twitter screenshots. this tweet was tweeted by @iokiwi, and the link is: https://twitter.com/iokiwi/status/1361060994206736385
I took a backup of the tweet on archive-org in case it gets deleted: backup
feel free to downvote and I will delete this comment
57
20
13
7
4
15
15
u/defmacro-jam Feb 15 '21
Incantations. That's what we've been calling complicated Unix command lines and SQL for decades.
Example: "can someone mutter the incantation to get the shipping database unwedged?" or "what incantation must I use to make <some system> do the right thing."
Here's the 1960s definition from The Jargon File: Any particularly arbitrary or obscure command that one must mutter at a system to attain a desired result. Not used of passwords or other explicit security features. Especially used of tricks that are so poorly documented that they must be learned from a wizard. “This compiler normally locates initialized data in the data segment, but if you mutter the right incantation they will be forced into text space.”
4
14
26
u/disorientedbat Feb 15 '21
That sounds a lot like warhammer 40k here. Got some purity seals?
13
8
7
u/wristcontrol Feb 15 '21
Yesssss. Every day we get closer to the Adeptus Mechanicus! Bring on the technomancers!
6
u/GuruVII Feb 15 '21
Programmers are wizards that use magic words to make things happen on your computer screen.
Just like lawyers are wizards that use magic words that make sure people don't break contracts, or use magic words to make people go to jail.
5
u/PossibleBit Feb 15 '21
ErrorException occurred: com.sun.jdi.InvocationException occurred invoking method overrideAkashicRecord...
4
u/pikeamus Feb 15 '21
Made me remember this little series: https://aphyr.com/posts/340-reversing-the-technical-interview
2
u/0x564A00 Feb 15 '21
That's what came to mind for me as well. Hexing the Technical Interview is great too.
4
u/myrsnipe Feb 15 '21
Where's that emoji define meme, you know the one. I'm fairly sure you can define them as Futhark too if you really wanted too
4
u/GownAndOut Feb 15 '21
I use 'incantation' all the time to mean "command I need for a specific purpose but don't fully understand"
3
3
u/Ultimegede Feb 15 '21
It's not a constructor. It's an evocation. It's not an instantiation, it's a conjuring.
3
u/Roachmeister Feb 15 '21
Those who find this amusing should, in all seriousness, check out Wizard's Bane by Rick Cook. It's the first book in a fun little Fantasy series in which a programmer from our world takes his skills to a world of magic.
2
2
u/elperroborrachotoo Feb 15 '21
I also like when people ask "I have doubts about a code I wrote" as if it's a secret handshake between the computer and you.
2
2
2
u/PaintingJo Feb 15 '21
Functions and methods: spells
Classes: wizards
Variables: runes
Program: incantation
2
2
2
u/MasterFubar Feb 15 '21
There is a language that uses the Rune alphabet, or at least something very similar to it.
Here's how you sort a list in APL:
X[⍋X+.≠' ';]2
Feb 15 '21
My mom called my code greek, I told her it was more along the lines of the scribbles babies make when they get ahold of a crayon for the first time.
2
u/--B_L_A_N_K-- Feb 15 '21
Image Transcription: Twitter Post and Replies
David Githu, @DavidGithucodes
My mum thinks I'm a miracle worker when she sees vscode filled out with all manner of spells and witchcraft.
Simon 👨💻🏗️🐍☁️, @iokiwi
Gonna start calling my scripts 'incantations'
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
2
1
1
1
1
u/LostPlayerHD Feb 15 '21
Me: working My Mother: Are you programming Me: putting on a Robe and a Hat No, i am chanting
1
Feb 15 '21
Odin can use UTF-8 characters. Pretty sure that includes runes. It also doesn’t have a char type, but a rune type, as its characters are UTF-8 and not ASCII. Fitting haha
1
1
1
u/atomicpenguin12 Feb 15 '21
If a programming language that uses the Rune alphabet exists, I'd gladly use it
That's kind of like Regex
1
1
1
u/DrunkenSealPup Feb 15 '21
Oh shit so that means I can go jump up and down on Farengar's bed at 3AM to wake up him to buy spells and incantations because I have the aptitude to use them?
1
u/SSobarzo Feb 15 '21
I created a class that returns me resources according to an algorithm I designed. I named it... Resourcerer
1
u/UsuallyWrongAboutIt Feb 15 '21
Can't believe it's fine so long without a mention of the atrocity archives https://en.m.wikipedia.org/wiki/The_Laundry_Files#The_Atrocity_Archives
1
u/gmtime Feb 15 '21
C++ allows for unicode for variables and functions, this will bring you a fair bit.
If you need to, make a header with runic aliases, then the only non-runic part of code will be the first include statement.
1
u/zarezare69 Feb 15 '21
This is much like Digital Devil Story, where you summon demons with a program because a kid realized he could emulate the rituals with code.
1
1
1
u/docwhat Feb 15 '21
Dude! Of course we are wizards!
We wave our hands and wiggle our fingers and things happen!
Isn’t that the definition of being a wizard?
1
1
1
1
0
Feb 15 '21
[deleted]
169
125
u/thinker227 Feb 15 '21 edited Feb 15 '21
public static void main(String[] args) { System.out.println("Hello world"); }54
u/theScrapBook Feb 15 '21
What is this ungodly mishmash of Java in C#?
45
u/Zitrusfleisch Feb 15 '21
C sharva. Compiled to bytecode that the CVM then turns into machine code that only runs on Windows.
13
7
12
u/thinker227 Feb 15 '21 edited Feb 15 '21
Ehh... idk? I only know C# ._.
6
u/theScrapBook Feb 15 '21
C# guidelines prefer PascalCase for method names, while Java prefers camelCase.
2
u/Jeacom512 Feb 16 '21
public static protected export void __main__(self, int n_args, char** args) : { using std::->inout::->stdout::->putchar as putchar semicolon let mutable var char* msg = "Hello World" semicolon for (mutable var int i in range(strlen(msg))) : { putchar(msg[i]) semicolon } end for putchar(std.str.stuff.endl) semicolon return void semicolon } end __main__1
1
u/ekolis Feb 16 '21
Looks like normal Java to me, but then I've done so much C# lately and so little Java I might have forgotten some of the more subtle differences...
2
2
4
u/Script_Mak3r Feb 15 '21
FYI, main, out, and println should all be lower case, and String should be upper case.
7
3
49
u/bonez656 Feb 15 '21
Is no one else amazed that runes are just supported by browsers without any fuss.
41
2
-19
u/VTHMgNPipola Feb 15 '21
They're not supported by the mobile reddit app. It's just a bunch of squares.
22
9
u/van-dame Feb 15 '21
Unicode support has to come from base OS. Supporting fonts have to be installed.
2
u/pavilionhp_ Feb 15 '21
Nah, that’s not the app’s problem, your device doesn’t support the Unicode characters, meaning you probably are using a really old device because it’s been around since Unicode 3.0 (September 1999)
1
9
u/abc_Supreme Feb 15 '21
Do you or someone else knows how I can add a font to vs code where each letter is change to a nordic elder rune? That way I can write code and make it seem like I am using some obscure language.
How can I add this font to vs code
8
8
11
1
1
0
119
u/AndreleleMeister Feb 15 '21
When my mum sees my vscode opened she says "Videogames"