Skip to main content

in reply to Sjmarf

Conflating us again with iPad kids?
This entry was edited (3 months ago)
in reply to 9point6

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.

in reply to EntirelyUnlovable

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

This entry was edited (3 months ago)
in reply to 9point6

For some reason, this just sparked an ancient memory of the Geek Code, which was a sort of signature block you could append to your emails and online bios to show off how much of a geek you were in the geekiest fashion possible.

Goddamn I'm old.

in reply to cobysev

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...

in reply to cobysev

Wow, hadn't thought of that thing in ages. Now all we need is for B1FF to bring back ASCII sword signatures.
in reply to Sjmarf

Shoutout.SpillTea🤣
This entry was edited (3 months ago)
in reply to Sjmarf

Just needs a rap about the fun in functions performed by 60-year-old seniors
This entry was edited (3 months ago)
in reply to Sjmarf

Why does the bool have brackets? I haven't really used c#, seems odd
in reply to Whelks_chance

It's a method definition. C#'s standard formatting puts the left ~~bracket~~ brace of the method body on a new line. It's equivalent to:
private bool IsSus(){
    ...
}
This entry was edited (3 months ago)
in reply to Sjmarf

I really really dig the fuckaround/findout. It paints the try/catch with a more dreadful undertone and reeks of mystery.
in reply to Dyskolos

As well as the yeet keyword, I'm really friggin' diggin' this. [modernisation required]
in reply to noughtnaut

#define yeet throw
#define let const auto
#define mut &
#define skibidi exit(1)

The future is now!

This entry was edited (3 months ago)
in reply to Dyskolos

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.
in reply to jballs

Indeed. I was unfair of me to pick only one favourite, as there are more candidates :)
in reply to jballs

NGL, that helped me actually understand the original function. It's been over a decade since I've touched anything related to C.
in reply to Dyskolos

in reply to merc

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.

in reply to Psaldorn

Ratio is when your comment receives less upvotes than my reply, you get ratioed.
in reply to Sjmarf

That's way better than my emoji based programming language.
in reply to jaybone

Haven't published it yet.

Here are comparisons:

⚖️

🐲

🐲⚖️

⚖️🐲

🚫🐲⚖️

in reply to jaybone

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~~ four (edit: I can't keep track of time) 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 📁💳.

This entry was edited (3 months ago)
in reply to peoplebeproblems

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.
in reply to jaybone

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

This entry was edited (3 months ago)
in reply to Sjmarf

I don’t get the joke. Is the one on the left actually valid C# code?
in reply to jaybone

C# is basically Java and from what I can tell, this looks approximately valid.

Variables can always* be named freely to your liking.

*You used to have to stick to the Latin alphabet, but that’s increasingly not the case anymore. Emoji-named variables FTW!

in reply to stetech

No it’s not “basically Java”

Aside from how Microsoft stole it, fucked the standard library, fucked the naming conventions, etc. You would never just “throw” without specifying what you were throwing.

in reply to jaybone

To be honest I’m just playing into the meme of Java.

My understanding is it’s academically great, but a pain in practice.

For reference we use C# .Net, Entity Framework with GraphQL and React TypeScript for our enterprise applications and I really like C# now, but when I first started I’d only really used Node.js and some Java.

in reply to dependencyinjection

This entry was edited (3 months ago)
in reply to jaybone

It looks valid but vibe isn’t declared anywhere so it won’t compile.
in reply to jaybone

This is incorrect. The C# is valid. Throw in a catch statement simply rethrows the caught exception. Source: I've been writing C# for 20 years, also the docs.

I won't act like MS absolutely didn't steal core concepts and syntax from Java, but I've always thought C# was much more thoughtfully designed. Anders Hejlsberg is a good language designer, TypeScript is also a really excellent language.

in reply to CodexArcanum

In Java you would say “throw e;” (to rethrow the same exception you just caught.)

You wouldn’t just say “throw”

Or you could also throw some other exception. But the syntax requires you specify what it is you are throwing. (And sane in C++, where you could throw any object, even a primitive.)

So that was my question.

in reply to jaybone

Wildly, in C# you can do either and it has different results. I believe a bare throw doesn't append to the stack trace, it keeps the original trace intact, while throw e updates the stack trace (stored on the exception object) with the catch and rethrow.

In C#, you can only throw objects whose class derives from Exception.

in reply to CodexArcanum

You can do either, but you usually do neither. The best way is to throw a new exception for your situation and add the caught exception as an inner exception. Because rethrowing resets the stack trace, removing the context from an exception message that is often pretty vague, and "bouncing" with throw; doesn't tell the next exception handler that you already handled (part of) the exception.
in reply to stetech

It looks valid but vibe isn’t declared anywhere so it won’t compile.
in reply to Sjmarf

Well. I think I'm officially out of touch with the newest generations slang terms. I only understood about half of that.
in reply to MystikIncarnate

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)
This entry was edited (3 months ago)
in reply to Clay_pidgin

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.

This entry was edited (3 months ago)
in reply to dependencyinjection

Thanks for the catch, I thought I got all of them. Stay skibidi and not Ohio, my friend.
in reply to dependencyinjection

There was meme on titkok, someone says "only in Ohio" when something weird, impossible, unbelievable or some stupid bizarre shit happens.
in reply to MystikIncarnate

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.
in reply to dependencyinjection

It's recognized by the yoots as the worst state, so being Ohio is bad!

It's worse than "mid", which is meh.

in reply to Sjmarf

Ah, yes. A private method for working on a public field.
in reply to AeonFelis

Ah but maybe the vibe is a lowkey period we can't be sure
in reply to Sjmarf

Ugh. Just

its_giving rizz ratios vibe;

No more needless nesting plz

This entry was edited (3 months ago)
in reply to Scrubbles

Considering vibe is probalby float, I doubt any exceptions can be thrown there, you can eliminate another useless scope.

Even if it's not float, I'd consider burning alive anyone who overrides an operator like this anyway.

This entry was edited (3 months ago)
in reply to Lemminary

If you confused period and fax intentionally, I commend the effort.
in reply to Sjmarf

This was by far the best way to explain current slang.
I got all of it No Tea
in reply to Sjmarf

fuck_around/find_out
And now someone is preparing a PR on C#’s GitHub issues… well done, well done.

Programmer Humor reshared this.

in reply to Sjmarf

As much as this hurts, yeet; as an alias throw; is hilarious
in reply to Lightfire228

Funnily enough, that is a keyword in rust.

(it's a placeholder to remove any bikeshedding)

This entry was edited (3 months ago)
in reply to Lightfire228

Pretty sure this is from the esolang bussin
in reply to Sjmarf

Aliasing no_cap and cap to true and false.....

I might have to steal that.....

in reply to sheepishly

I fucking love it. Gen Z slang is so lighthearted and fun.
This entry was edited (3 months ago)
in reply to Psythik

It's because we are depressed nihilists who have given up on pretty much everything, running on gallows homour to a point where we are meming youth slang. Don't worry, we're fine haha... Ha...
in reply to Sjmarf

I've seen forms of this joke quite a lot in the last few years, and it never fails to make me laugh.
in reply to Sjmarf

Should else be big_yikes? That seems situational to me.
in reply to mcqtom

It’s actually a comment on the performance loss incurred from a likely failed branch prediction.
in reply to Sjmarf

As if default keywords are the biggest deal-breaker.