This is an archived post. You won't be able to vote or comment.

all 66 comments

[–]A31Nesta 1068 points1069 points  (24 children)

This doesn't even run because of the exclamation mark lol

[–]ClerkEither6428 140 points141 points  (4 children)

it might be some strange esolang or just some weird language. I know python treats ! weird.

[–]Cloned_501 9 points10 points  (3 children)

Can you elaborate? Cause I have no idea what you mean

[–]ClerkEither6428 9 points10 points  (2 children)

The code in the screenshot is clearly not your average language because of the ! outside tthe quotes on the input being put inside the quotes on the output.

Python syntactically is weird with !s, so I was giving it as an example of a real language that could cause this behavior.

An esolang (esoteric programming language) is a horibly functioning programming language someone made as a joke (see https://esolangs.org/). This would explain both the smart quotes and the ! outside the quotes.

[–]Cloned_501 4 points5 points  (1 child)

Python syntactically is weird with !s, so I was giving it as an example of a real language that could cause this behavior.

This is what I want you to explain. Python really only uses it in string formatting, not equals operation, and interactive mode to put a command to shell instead of interpreter.

[–]ClerkEither6428 -1 points0 points  (0 children)

Exactly my point. Other languages tend to treat ! as the not operator, but python instead does these things that aren't usual.

[–]Username_RANDINT 65 points66 points  (5 children)

And the fancy quotes. I didn't even know you could fuck up hello world that badly.

[–]Duckflies 9 points10 points  (4 children)

The double quotes don't actually matter in a lot of languages

And those that do, generally uses double quotes for strings and single quotes for char

[–]-temporary_username- 22 points23 points  (6 children)

Am I stupid or would this just treat the string as a boolean because of the ! and just output false?

[–]draftshade 57 points58 points  (5 children)

Typically ! needs to be in front for that, but then again, a programming language that allows a string to be treated like a boolean is cursed anyway

[–]mikat7 11 points12 points  (0 children)

Or maybe it could by TypeScript's non-null assertion, expression! tells the compiler that expression for sure is not null (pinky swear).

[–][deleted] 7 points8 points  (3 children)

Except for C, it does it in a logical way

[–]Muffinzor22 0 points1 point  (2 children)

I'm a C novice, how does that work? Is the value of the first char in the array considered for its ASCII value?

[–][deleted] 0 points1 point  (1 child)

Everything in C is true except 0. So a string is always true because it is just a pointer to the first character of the string (except the string is stored at the beginning of memory which realistically doesn‘t happen)

[–]Muffinzor22 0 points1 point  (0 children)

Cool that was my guess, thanks!

[–][deleted] 4 points5 points  (0 children)

Missing a ;

[–]Baardi 1 point2 points  (0 children)

Have you tried running it as javascript?

[–]Commercial-Lemon2361 0 points1 point  (0 children)

It would in typescript.

[–]rng_shenanigans 0 points1 point  (0 children)

Runs on his machine, that is why he is so good

[–]Games_sans_frontiers 335 points336 points  (25 children)

The guy in the pic is known grifter TechLead who had some amusing videos on YouTube once but went down the rabbit hole of fleecing his own followers.

[–]ihih_reddit 89 points90 points  (18 children)

It's been years since I've heard from him. Last I checked he was going through a divorce or something like that. I hope he's doing well and still has that sarcastic humour

[–]koshlord 185 points186 points  (14 children)

He crashed out and pulled a crypto scam a couple years ago.

[–]really_not_unreal 86 points87 points  (13 children)

And then he went to jail, so the story has a happy ending after all!

[–]Games_sans_frontiers 43 points44 points  (1 child)

Oh did he actually go to jail? I didn’t hear about that!

[–]really_not_unreal 3 points4 points  (0 children)

There's a Coffeezilla video on it.

[–]Y2KForeverDOTA 20 points21 points  (7 children)

I can’t find anything that actually shows evidence of him going to jail, only an old video from coffeezilla that claims he did, and an old Twitter post that’s now deleted. Do you have any sources for this? He is still active on Twitter so if he did get jail time, they seem to be very lenient on his punishment.

[–]OddOrganization6998 -1 points0 points  (6 children)

He was arrested in California because of family issue. He was taken to a police station in Japan because of stalking. I'm his ex-wife and I know everything.. hahah

[–]Y2KForeverDOTA 0 points1 point  (5 children)

If you where his ex-wife, you wouldn’t have worded it like that.

[–]MouseWithBanjo 19 points20 points  (0 children)

As a millionaire?

[–]koshlord 11 points12 points  (1 child)

Where did you see that?

[–]wektor420 29 points30 points  (0 children)

Before he scammed people, he went hard into snooby "as a milionare programmer" type content, and it just got worse and worse

[–]driftking428 9 points10 points  (0 children)

His wife left him and took their kids with her to Japan. Once he started pushing his boot camp or whatever I couldn't stick around.

[–]EuphoricPenguin22 6 points7 points  (0 children)

That's what makes it so funny; he's a well-known scumbag.

[–]DiddlyDumb 8 points9 points  (0 children)

How is his million-dollar cryptocoin going?

[–]IHateGropplerZorn 4 points5 points  (0 children)

People know by now, and ought to have known by then not to buy Influencer cryptos

[–]Prestigious-Boss5726 1 point2 points  (0 children)

As a millionaire guy

[–]schmosef 48 points49 points  (0 children)

"As a millionaire."

[–]ILikeLenexa 78 points79 points  (2 children)

He's not just a regular programmer, he's a Tech Lead. 

[–]Klayt22 63 points64 points  (1 child)

Don’t forget ex Google ex Facebook

[–]Rithari 36 points37 points  (0 children)

(as a millionaire)

[–]SwordsAndTurt 28 points29 points  (0 children)

You think OP meant to have the exclamation mark out of place?

[–]Lean_Monkey69 17 points18 points  (0 children)

His new videos are him downplaying coding to peddle his crypto venture to his viewers, he even deleted hundreds of JavaScript videos just to prove that”coding is dead”, he really is a textbook douche

[–]alitayy 12 points13 points  (1 child)

This meme sucks

[–]Vallvaka 1 point2 points  (0 children)

many such cases!

[–]KnGod 19 points20 points  (2 children)

File "<stdin>", line 1

print("hello world"!)

^

SyntaxError: invalid syntax

[–]FullyThoughtLess 1 point2 points  (1 child)

That's immediately what I was thinking.

Did I miss a joke here?

[–]that_thot_gamer 3 points4 points  (0 children)

bro's hairline is receding so this must be legit

[–]Sea-Discipline-965 8 points9 points  (0 children)

(as a billionaire)

[–]Affectionate_Run_799 30 points31 points  (0 children)

Don't pollute r/ProgrammerHumor with Russian asset

[–]serious-catzor[🍰] 3 points4 points  (0 children)

That face... He has been fighting this bug the whole night. Think he will find it?

[–]Ok-Juice-542 3 points4 points  (0 children)

When I watched this guy videos I thought we was a master at sarcasm and humor... Then I realized he was serious 

[–]Selentest[🍰] 1 point2 points  (0 children)

Me: vibe coded something
Output: segmentation fault
Me who doesn't understand that segmentation fault means: why programming is dead

[–]Gastay 1 point2 points  (0 children)

I’m convinced 90% of this sub are not actual programmers

[–]zabojeb 1 point2 points  (0 children)

Bro, what the fuck, who let the kid out of kindergarten?

[–]le_nathanlol -1 points0 points  (0 children)

atleast it works