There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

RagnarokOnline ,

I didn’t bother trying to see what an output would be, but this is a nightmare.

Rai ,

Oh no, now I’m going to notice you in, like, every thread!

RagnarokOnline ,

Hahaha, I’m inevitable! The nostalgia is too powerful!

kspatlas ,
@kspatlas@artemis.camp avatar
magic_lobster_party ,

💩
🍊
🍉
🍉
🍍
🍎

fri ,

Looks like it creates a few emoji printers in a vector, then prints them all. The output is all emoji, of course. The main function exits with a random return value just to be more quirky.

I’m not sure what the purpose of the 😎 function is. In main that first predicate is always true, so it prints the poop emoji. I don’t know why it’s behind an if.

Also, there’s a copy-paste error on line 31. Wrong emoji is used.

randomuser38529 ,

This guy emotes ᕦ(ò_óˇ)ᕤ

db2 ,

define 🍆 return

balance_sheet ,

<span style="color:#323232;">def 👩‍❤️‍👨👨‍👩‍👧(👦, 👧):
</span><span style="color:#323232;">    💞 = min(👦.🫀,👧.🫀)
</span><span style="color:#323232;">    For ❤️ in 💞:
</span><span style="color:#323232;">        👧.🍑.append(👦.🍆)
</span><span style="color:#323232;">        👧.🍑.pop
</span><span style="color:#323232;">    👧.🍑.append(👦.🍆.💦())
</span><span style="color:#323232;">    try:
</span><span style="color:#323232;">        ⏰️.😴(9️⃣🌚)
</span><span style="color:#323232;">        👶 = 👧.🏃‍♀️(🏨)
</span><span style="color:#323232;">        return 👶
</span><span style="color:#323232;">    except:
</span><span style="color:#323232;">        🗒 = 🏨.🧪([🧑,👧])
</span><span style="color:#323232;">        raise ValueError(🗒)
</span>
shadearg ,
@shadearg@lemmy.world avatar

This is blursed as hellven. ngl.

In vitro is a nice touch when the skeet don’t work.

heimchen ,

Assembly but the commands are emojies🤯

SpeakinTelnet ,
@SpeakinTelnet@sh.itjust.works avatar

Mojo prepared me for this with their filename extension .🔥

SouthernCanadian ,

Wow that’s horrible. They’re using c++.

zib ,
@zib@kbin.social avatar

If you really need some nightmare fuel, some of us use c++ every day and even enjoy it.

pwalker ,

it’s hard to believe…

Neon ,

i'm not used to c++ but...
int main() ?

exoplanetary ,
@exoplanetary@lemmy.world avatar

Yep, main returns an int in C++. It’s for the return code - if it returns 0, that indicates the program ran ok, if it returns anything else some sort of error occurred.

Neon ,

that actually makes sense. thanks for that explanation.

xigoi ,
@xigoi@lemmy.sdf.org avatar
balance_sheet ,

Conceptually Bright (on their website)

What?

erogenouswarzone , (edited )
@erogenouswarzone@lemmy.ml avatar

It would be great to use some emojis in coding.

Imagine how much more readable it would be if you could break a loop with 💀 or return true with 👍. Or use ❓for ifs, or ↔️ for switch (the emoji didn’t work for that one). Or use an emoji to represent a custom object?

Maybe the ECMA should get on that!

Edit: I guess you can use emojis for custom objects in js.

Edit 2: ➡ for console.log

aard ,
@aard@kyu.de avatar

emacs lisp already lets you use the full range of unicode.

erogenouswarzone ,
@erogenouswarzone@lemmy.ml avatar

Sorry, I meant ECMAScript

SubArcticTundra ,
@SubArcticTundra@lemmy.ml avatar

You’d still be left with the brackets and braces though. It might make more sense in a whitespace-based language pike Python

erogenouswarzone ,
@erogenouswarzone@lemmy.ml avatar

I see your point. Personally, I like the brackets and braces, they help organize. Or maybe that’s just what I’m used to.

hxd ,
@hxd@mastodon.sdf.org avatar
jimmux ,

Programming typefaces with ligatures are a step in this direction.

I would try this in something like Haskell, where some of the more exotic character sequences get tricky to recognise.

Unison might be the best language to test this in. Having identifiers separate from the actual definitions, you can call anything whatever you want.

ArtisinalBS ,

Is 👀 even defined?

CaptainJack42 ,

Yes, line 28 defines 🍴which defines 👀 and all the structs inherit from 🍴

jasondj ,

Brand new sentence.

jecxjo ,
@jecxjo@midwest.social avatar

Haha did the same thing years ago to make the code look like free flowing text.

original_reader ,

This… this… this is… GENIUS.

Utter madness, sure. Genius nonetheless.

dylanTheDeveloper ,
@dylanTheDeveloper@lemmy.world avatar

Can you string match emojis

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines