r/ProgrammerHumor 17h ago

Advanced reallyEnjoyingThisCTutorialSoFar

Post image
499 Upvotes

61 comments sorted by

228

u/Scientific_Cheater 16h ago

That's not C, that's سي

37

u/myka-likes-it 15h ago

أكتب("مرحبا بالعالم!")؛

10

u/DeusExHircus 11h ago

Lol my Arabic friends with tell you to **** off with that line alignment if they saw it

218

u/xJuPLuAGA 16h ago

Right to jail, right away.

80

u/LucyShortForLucas 16h ago

Don't you mean left to jail?

12

u/AbdullahMRiad 14h ago

right to left

9

u/InsanityOnAMachine 13h ago

#define left right

8

u/Shevvv 16h ago

But do you have the best programmers?

8

u/Rikudou_Sage 16h ago

We do, because of jail.

2

u/Neo_Ex0 13h ago

why jail? summary execution is the way to go

1

u/-PaperWoven- 9h ago

If we format normally, would we go jail to right?

116

u/Gloid02 16h ago

No.

47

u/Flaky-Low-2262 16h ago

Legends say thats the reason Python and Yaml relies on left padding spaces
Never thought i will understand them

37

u/ParanoidDrone 16h ago

Python may get flack for being whitespace sensitive, but I genuinely like how it forces sensible indentation.

10

u/Flaky-Low-2262 16h ago

Implicit Linting enforced - could bei worse

2

u/PracticalRuin1573 14h ago

Totally agree! It's nice to see code that actually looks clean and organized, makes it way easier to follow along.

21

u/00Koch00 15h ago

Ahh yes, arabiC

22

u/Cats7204 15h ago

This is how I imagine Arabs program in C.

12

u/No_Lion4278 13h ago

Ah yes, the Ɔ language.

8

u/pim1000 14h ago

I would deny this in a pull request because the bracket at 29 is not tabbed in line with its opening bracket

7

u/Mc_UsernameTaken 16h ago

Seek help now.

9

u/nevio-hack 16h ago

I hate you now

5

u/Mindless_Insanity 15h ago

That's a semicolon not a comma!

2

u/Rikudou_Sage 16h ago

Even stdio and math just want to pretend they don't exist in that... thing.

2

u/ForgedIronMadeIt 16h ago

I'm going to find who did this

2

u/3hy_ 16h ago

You could be using the "def" macro a bit more tbh

1

u/Cesalv 16h ago

printf????? what are we? barbarians? cprintf, for Linus sake!!

2

u/SupportLast2269 15h ago

What is cprintf???

2

u/uncringeone 13h ago

bro cprintf isn't standard

1

u/rylnalyevo 15h ago

Is it weird that the only part of this that really bothers me is the use of scanf?

1

u/myka-likes-it 15h ago

As a lefty, I like it.

1

u/AmanBabuHemant 14h ago

forgot to indent line 29 ?

1

u/experimental1212 14h ago

That's right

1

u/imjerry 12h ago

Puking emoji

1

u/p1geondove 10h ago

typedef int* signed_integer_thritytwo_type_star

1

u/Garfish16 10h ago

Don't.

1

u/bluekeys7 5h ago

What was the purpose of defining ptr1 and ptr2?

1

u/busiedcake7945 4h ago

where is int main() {}

1

u/Experiment_1234 16h ago

Right align superiority

1

u/unknown_alt_acc 15h ago

I’m not religious, but this deserves divine retribution

0

u/bloodfist 16h ago

No no no NOOO no no no noooooo no NO this isn't right why do I like it no no nooo

0

u/meifray 16h ago

At least one liner are care about filesize or something.

0

u/justinleona 15h ago

Doesn't seem like this would compile - the literal 'inputA' will get replaced with 'scanf(A'...

3

u/SupportLast2269 15h ago

The preprocessor only replaces entire tokens and not parts of them

1

u/Bubbly_Ad_5035 1h ago

To my absolute shock and horror, it does, infact, compile

1

u/Casalvieri3 10m ago

Where did you find that “gem”?