That’s way better than my emoji based programming language.
I’m not so sure. Send a link.
Haven’t published it yet.
Here are comparisons:
⚖️
🐲
🐲⚖️
⚖️🐲
🚫🐲⚖️
Post the GitHub repo.
I will help you make this happen.
Sure! It doesn’t do anything yet, I just have a text file with how I’m intending to architect it.
It quite literally started two days ago.
I’ll configure a repo, stick this in a file, and push it. I’ll reply with another comment so you (and others) can look it up.
I’ve come up with some crazy stuff. Instead of something like “class” to indicate a class, it’s
🏫 Followed by the emoji name of the class like 🖼️📁. So it will need to be able to handle operators in the name it’s amazingly gross! Properties and methods will also be emoji names, like to get the 🖼️📁 “File Name” it would be 📁💳.
I was kind of being sarcastic. I haven’t written a compiler since I rode my dinosaur to college. Still it’s a funny idea. Could probably do it in C using a bunch of pound defines.
I was thinking Rust, but that works too.
Because then I could call the Language Spoons.
It would as uncomfortable to use as it is to watch Rusty Spoons
I really really dig the fuckaround/findout. It paints the try/catch with a more dreadful undertone and reeks of mystery.
As well as the
yeet
keyword, I’m really friggin’ diggin’ this. [modernisation required]#define yeet throw #define let const auto #define mut & #define skibidi exit(1)
The future is now!
Oh yes, this one too of course!
Yeah, I love that one.
“Try” is too hopeful. “fuck_around” makes it clear that you know what you’re doing is dangerous but you’re going to do it anyhow. I know that in some languages wrapping a lot of code in exception blocks is the norm, but I don’t like that. I think it should be something you only use rarely, and when you do it’s because you know you’re doing something that’s not safe in some way.
“Catch” has never satisfied me. I mean, I know what it does, but it doesn’t seem to relate to “try”. Really, if “try” doesn’t succeed, the corresponding block should be “fail”. But, then you’d have the confusion of a block named “fail”, which isn’t ideal. But “find_out” pairs perfectly with “fuck_around” and makes it clear that if you got there it’s because something went wrong.
I also like “yeet”. Partly it’s fun for comedic value. But, it’s also good because “throw” feels like a casual game of catch in the park. “Yeet” feels more like it’s out of control, if you hit a “throw” your code isn’t carefully handing off its state, it’s hitting the eject button and hoping for the best. You hope there’s an exception handler higher up the stack that will do the right thing, but it also might just bubble all the way up to the top and spit out a nasty exception for the user.
I visualized “try” as watching a young child climb something that might be out of their comfort zone, so you’re letting them, but stay ready to “catch” them if something goes wrong. I suppose “throw” would be if they soiled themselves in their fall, you can throw them back into the arms of their loving parent for cleaning.
But fuck_around, find_out and yeet would be fantastic.
The whole thing was pretty damn good all the way through. The only thing that had me wondering was
Tea
Until it got to
SpillTea
Well played.
the suspense!
NGL, that helped me actually understand the original function. It’s been over a decade since I’ve touched anything related to C.
just what you want from code !
Exactly!
slowly steps back and returns to basic and z80 assembly
*Gen Z assembly
Conflating us again with iPad kids?
Just wait till they get Lemmy on their iPads
Just needs a rap about the fun in functions performed by 60-year-old seniors
😂
And a decade or so ago it was LOLCODE that had me mildly concerned for the wellbeing of my peers.
Wow, hadn’t thought of that thing in ages. Now all we need is for B1FF to bring back ASCII sword signatures.
Remember it spawning a bunch of copycats? For a while every community had their own code block. I wrote one for a usenet group i was in at the time.
alt.sysadmin and alt.sysadmin.recovery both had em iirc…
HAI 1.2 CAN HAS STDIO? IM IN YR LOOP UPPIN YR VAR TIL BOTH SAEM VAR AN 10 VISIBLE SUM OF VAR AN 1 IM OUTTA YR LOOP KTHXBYE
A perfectly reasonable language. None of this Gen Z rubbish.
Something something better times. Shakes stick at sky.
Kids today just don’t know real code
My 21 year old is pretty into rust and html. Does that count?
I’m pretty ignorant on most of it. In my youth, I just dabbled trying to lean basic on a c64 and AMOS on the Amiga though, so maybe not lol
e: I think I missed the joke, probably because I’m old lol
Hell, kids today don’t even number their lines anymore. What’s wrong with the world?
Shoutout.SpillTea🤣
I’d take that
yeet
instead ofreturn
…This is a better argument to adopt Rust than memory safety or even sane package management.
Why does the bool have brackets? I haven’t really used c#, seems odd
It’s a method definition. C#'s standard formatting puts the left
bracketbrace of the method body on a new line. It’s equivalent to:private bool IsSus(){ ... }
Ahhh, that makes way more sense. Thanks
Well. I think I’m officially out of touch with the newest generations slang terms. I only understood about half of that.
I have many gray hairs, but here’s what I know.
-
Highkey and lowkey - obvious and subtle.
-
fax is “facts” - true. Often in the sense of agreement.
-
Fuck around and find out - do something risky and reap the consequences
-
It’s giving - how it makes you feel, or what it reminds you of.
-
Cap and no cap - lying and telling the truth.
-
Big yikes - bad, especially cringey.
-
Tea - (n) gossip. (v) “spill the tea”
-
Shoutout - give credit to someone. I don’t think this one makes much sense here.
-
Yap - talk, especially too much or unnecessarily.
-
Yeet - throw, often without careful aim. (Unlike “Kobe”, which is a throw with aim)
You missed
- Rizz = charisma
- vibe check = Vibe is kinda like someone’s aura or energy. So to check their vibe is to call them out on it.
Also got many grey hairs but I like to know what people mean and language evolves. Our generation did it too you get me blud.
Thanks for the catch, I thought I got all of them. Stay skibidi and not Ohio, my friend.
No problem. Ohio is a new one for me?
It’s recognized by the yoots as the worst state, so being Ohio is bad!
It’s worse than “mid”, which is meh.
There was meme on titkok, someone says “only in Ohio” when something weird, impossible, unbelievable or some stupid bizarre shit happens.
Similar to Florida?
Florida is basically the unofficial US Capitol now, so it would be confusing and ambiguous to have it associated with the traditional forms of unexpected insanity. Now it’s going to be an entirely new kind of unexpected insanity, so Ohio has been selected to represent the old kind of unexpected insanity that Florida used to represent.
-
deleted by creator
Should else be big_yikes? That seems situational to me.
It’s actually a comment on the performance loss incurred from a likely failed branch prediction.
play_stupid_games { // ... } win_stupid_prices(thePrice) { // ... }
I always thought it was “prizes”
Thx and sorry. My spelling skills are bad.
It is.
No, this is what they win:
Have you seen eggs lately, though?
FAFO block passes better
ratios
I need this and I’m an elder millenialRatio is when your comment receives less upvotes than my reply, you get ratioed.
I know! (Jumpin’ Jehosaphat!, I’m no boomer!) 🤭