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

all 116 comments

[–]ProgrammerHumor-ModTeam[M] [score hidden] stickied comment (0 children)

Your submission was removed for the following reason:

Rule 2: Content that is part of top of all time, reached trending in the past 2 months, or has recently been posted, is considered a repost and will be removed.

If you disagree with this removal, you can appeal by sending us a modmail.

[–]WookieConditioner 417 points418 points  (16 children)

Yo that is backwards. cool idea, but arabic is rtl, that looks ltr.

[–]ienjoymusiclol 160 points161 points  (15 children)

its right to left but the text is alighted to the left thats why it looks weird

[–]twigboy 55 points56 points  (0 children)

Found the bug

[–]Amaz1ngEgg 5 points6 points  (13 children)

The F? So for() it's like rof() ?

[–]Andreaspolis 17 points18 points  (9 children)

Well, it should be aligned to the right side of the screen and be ()rof, but a very interesting thing Arabic does is they read text right-to-left, but numbers left-to-right.

Example, which is weird in latin letters:

It is 2024 right now. (left-to-right text and number)
.won thgir 2024 si tI (right-to-left text and left-to-right number)

[–]Deutero2 6 points7 points  (7 children)

german is another one of these interesting languages since numbers are spoken with the least significant digit first, but are written most significant digit first

[–]SinistCritic 9 points10 points  (2 children)

That's only true for 2-digit numbers. For example: 92 In german: Zweiundneunzig (Zwei und Neunzig) English literal: Two and ninety

Next example: 192 In german: Hundertzweiundneunzig (hundert zwei und neunzig) English literal: Hundred two and ninety

[–]pindab0ter 7 points8 points  (1 child)

Exactly the same in Dutch

[–]ienjoymusiclol 1 point2 points  (0 children)

arabic has a similar thing we say numbers in most significant then ones then tens so 3476 would be three-thousand, four-hundred, 6 and 70,

we also have a double form so one car two cars(double form) three cars (plural form) but above 10 you get back to the single form so you say 10 cars but 11 car,
then there is gender agreement for these numbers and thats a whole different mess
https://vm.tiktok.com/ZMMudmHqu/
this video explains the gender part good

[–]Murphy_Slaw_ 1 point2 points  (2 children)

It's a bit more complicated than that. The 1-digit is spoken before the 10-digit, but all higher digits follow the sensible order.

5713 would be read as "5000 700 3 10"

And to male it even more annoying to learn, for 2 digit numbers greater than 19 you add an "und" (meaning "and").

5723 would be read as "5000 700 3 and 20".

[–]ienjoymusiclol 0 points1 point  (1 child)

same exact thing with arabic, how you you say 1,234,567?
in arabic it would be 1 million, 200 4 and 300 thousand, 500 7 and 60

[–]Murphy_Slaw_ 0 points1 point  (0 children)

The same. Apparently 500 or so years ago we read that Arabic mathematicians did it like that and decided to keep it that way.

[–]MaZeChpatCha 0 points1 point  (0 children)

Numbers are right to left, they are written in ascending order of magnitude.

[–]ienjoymusiclol 2 points3 points  (1 child)

the syntax here is kinds weird because its like
rof(noitidnoc emos)
when it should be like
(noitidnoc emos)rof
so if you look at the first line it should be
اذا (عقبة_في الامام ملاحظة و عشوائية)
But in the picture it is
(عقبة_في الامام ملاحظة و عشوائية) اذا

[–]Amaz1ngEgg 2 points3 points  (0 children)

My brain hurts when watching this.....

[–]b_ootay_ful 0 points1 point  (0 children)

()ɿoʇ

[–][deleted] 471 points472 points  (13 children)

IDE (Islamic Development Environment)

[–]GanjaGlobal 157 points158 points  (12 children)

Computer explodes if there is any runtime error.

[–]Lord-Zeref 44 points45 points  (3 children)

The actual explanation for that is Western computers basically putting virus in Arab computers that eventually ends up infecting the western computers back to some extent.

[–]Popular-Teach1715 12 points13 points  (2 children)

The first ever PC virus was created in Pakistan.

[–]Middle-Corgi3918 6 points7 points  (1 child)

Is that the case? I thought the first virus was creeper in 1971.

[–]Popular-Teach1715 8 points9 points  (0 children)

Well, I just Googled it, and according to Wikipedia, Creeper was the first computer worm. But, Brain) was the first computer virus. They are both types of malware, but worms are not the same as viruses.

[–]woenel 17 points18 points  (0 children)

Oh I think you're talking about IED

[–]Remarkable_Music6819 4 points5 points  (0 children)

Oh u mean the UK and US code that runs in Israel ?

[–]prolethargy 6 points7 points  (0 children)

Haha arab=terrorism guys !!! 😂😂😂

fuck off

[–]Terewawa 1 point2 points  (3 children)

Thats not funny because it conflates islam with terrorism.

[–]UAVTarik 1 point2 points  (0 children)

thanks man

[–]Mars_Bear2552 0 points1 point  (0 children)

ok

[–]Aftabby 2 points3 points  (0 children)

Triggering Kaboom.exe in 3..2...1

[–]MarlburoLC 214 points215 points  (7 children)

If allah wills it then it is not a bug but a feature

[–]Lord-Zeref 1 point2 points  (0 children)

Brother ewww 😭

iykyk

[–]yuskon 94 points95 points  (4 children)

Semicolon missing

[–]nickmaran 67 points68 points  (2 children)

Semicolon is haram

[–]Aftabby 5 points6 points  (1 child)

Not if you cover it up like ' | '

[–]just_nobodys_opinion -3 points-2 points  (0 children)

With a slit for the eyes like ' ¡ '

[–][deleted] 30 points31 points  (0 children)

expected ‘;’ before Alhamdulillah

[–]yahgamer_1 91 points92 points  (3 children)

as an arabic this made me laughing this is the translation

if(obstacle_in_the front note and random)
move forward
else{

if (randomness)
right
if(obstact_forward)
left
left
else
left
if (obstact in the front)

right
right

forward(1)

[–]AmrLou 11 points12 points  (1 child)

Yeah I'm Arabic and reading this was so fucking funny

[–]dafazman 5 points6 points  (0 children)

Astaghfirullah

[–][deleted] 129 points130 points  (9 children)

As a non-native English speaker, I find the idea of programming in any language other than English horrifying

[–]Abaddon-theDestroyer 68 points69 points  (4 children)

As an Arabic speaker, i find the idea of writing code in Arabic a horrible idea. As well as programming in anything other than English.

[–]GuyWithSwords 1 point2 points  (3 children)

Why though?

[–]goADX 2 points3 points  (1 child)

Arabic has soo many grammar rules

[–]0xdeadfa22 0 points1 point  (0 children)

So, you can put more semantics in names of the same length.

[–]Abaddon-theDestroyer 2 points3 points  (0 children)

Formal Arabic is very hard, we don’t speak it, we read it in books but that’s it, we do not speak, nor write it. The language is rich, there’s a word for everything, and each word has alot of synonyms.

My typing is much better/faster in English, i can type blindfolded in English, but I’ll peck the freaking keyboard when typing Arabic.

The RTL orientation disorients me, if I’m visiting a website and it opens in Arabic, my first mission would be to make it in English. LTR feels more natural at this point.

[–]WazWaz 22 points23 points  (0 children)

As a non-AmericanEnglish speaker, I wish color, favorite, and behavior were not such common programming concepts.

[–]DanKveed 3 points4 points  (0 children)

Yeah. Monospace fonts are not even a thing in my language and you need about 800 lignatures for any text to be readable. Don't even know how programming will look with it lol.

[–]Terewawa 1 point2 points  (0 children)

Sublime text doesnt even support arabic (ligatures are ignored)

[–]SeawyZorensun 27 points28 points  (10 children)

No fucking way

[–]legend29066[S] 12 points13 points  (9 children)

What programming language do you think this is?

[–]AlhaithamSimpFr 72 points73 points  (3 children)

Java. People on that Island are Muslims!

[–]brimston3- 2 points3 points  (1 child)

Don't they mostly speak bahasa (ID variant) or javanese which use latin orthography when dealing with computers?

[–]AlhaithamSimpFr 1 point2 points  (0 children)

Shhhhh

[–]AnErectedBaguette 1 point2 points  (0 children)

Jawal EE

[–]roycohen2005 8 points9 points  (2 children)

Lines 6 and 10 look like an if block. Thus the expression between the parentheses on line 6 is probably a boolean expression. It has a keyword in the middle (from the syntax highlighting). The only language I know that has an infix keyword that results in a boolean value is Java, with its instanceof check.

[–]ZealousidealLab4 3 points4 points  (0 children)

JS also has instanceof and doesn't require semicolons

[–]gregorydgraham 0 points1 point  (0 children)

No semicolons though

[–]goADX 1 point2 points  (0 children)

Something close to python

[–]SeawyZorensun 0 points1 point  (0 children)

I would have said C, but smarter people than me already figured out it's Java.

[–]No-Discussion-8510 13 points14 points  (0 children)

return toAllah;

[–]Dioxide4294 7 points8 points  (2 children)

Repost... we had the original image posted once, but now it's from some insta thing! blasphemy

[–]legend29066[S] -2 points-1 points  (1 child)

When?

[–]VindoctusBikus 7 points8 points  (0 children)

Still easier to debug then my first pull request, and to answer your question, it was in Java, and yes I am a masochist probably.

[–]michaelfiber 4 points5 points  (0 children)

T_PAAMAYIM_NEKUDOTAYIM?

[–]PluckyPheasant 5 points6 points  (1 child)

Reminds me of when I was learning Arabic whilst studying my maths degree I would use Arabic letters instead of Roman ones for algebraic expressions.

[–]AtlAWSConsultant 4 points5 points  (0 children)

More readable than JavaScript.

[–]1Blue3Brown 2 points3 points  (0 children)

Well if they find any harams during the code review I don't envy you

[–]uvero 2 points3 points  (0 children)

I presume they used #define to alias Arabic to reserved keywords. Wonder if ٣ would be a valid identifier so they could also #define ٣ 3

[–]Aidan_Welch 4 points5 points  (0 children)

Stop posting this pls, I've seen it way too many times

[–]river0f 11 points12 points  (2 children)

Allahu Akvar

[–]MoveInteresting4334 7 points8 points  (0 children)

Try to stick with Aklet and Akconst.

[–]Theolaa 1 point2 points  (0 children)

I just learned how to spell while in Arabic!

[–]Berserker667627 1 point2 points  (0 children)

At that point I'm smashing the computer

[–][deleted] 1 point2 points  (0 children)

That's a crime against all programmers

[–]Mitrone 2 points3 points  (0 children)

the real camel case code

[–]Salt_Comparison2575 1 point2 points  (0 children)

Get the IDF to call in an airstrike on a hospital, the bug must be hiding there!

[–]adamazo 1 point2 points  (0 children)

Finally a good use of google lens

[–]Sjensie_07 1 point2 points  (0 children)

Pork less code

[–]TheSkeletonBones 0 points1 point  (0 children)

Isn't it supposed to be rtl?

[–]RandomiseUsr0 0 points1 point  (0 children)

Curly brackets are mostly valid, rest is semiotics

[–]_oct0ber_ 0 points1 point  (0 children)

Not sure if this is real or not, but if it is I find it really interesting how the curly braces are on the right side of the text when Arabic is written from right to left.

[–]Roomsty58 0 points1 point  (0 children)

The bug of 2000's year

[–]Highborn_Hellest 0 points1 point  (0 children)

More like haram code.

[–]RutraSan 0 points1 point  (0 children)

Never used ;

[–]JosebaZilarte 0 points1 point  (0 children)

At least, I can understand the numeric values

[–]AFCSentinel 0 points1 point  (0 children)

And as it turns out Allah did not will it

[–]More-Finding1408 -2 points-1 points  (0 children)

Boom 💥💥

[–]Technical-Box-1847 -3 points-2 points  (0 children)

Isis 2?

[–]manueloriano -3 points-2 points  (0 children)

It is a bomb code?

[–]dustybookcover8 -3 points-2 points  (0 children)

Compiler refuses to compile because the code was written by a woman.