Visual Basic for Applications has localized Versions. Here is an Example in german, so why not in arabic? Funktion VorherigerGeschaeftstag(dt Als Datum) Als Datum Dim wd as integer wd = Wochentag(dt) ' Wochentag liefert 1 für Sonntag, 2 für Montag usw. Prüfe Fall wd Fall 1 ' Auf Sonntag wird Datum vom letzten Freitag zurückgegeben VorherigerGeschaeftstag = dt - 2 Fall 2 ' Auf Montag wird Datum vom letzten Freitag zur…
قلب: a non-ASCII programming language written in Arabic
341–350 of 657 posts
Re: قلب: a non-ASCII programming language written in Arabic
#342Re: قلب: a non-ASCII programming language written in Arabic
#343Earlier quoted context omitted.
TBH, I didn't get the joke until I read your comment. A small "/s" at the end wouldn't hurt.
To be frank, "/s" would have totally ruined it for everyone else. I'm assuming that you simply didn't read past the first paragraph? (That's fine, I bet we all do that way too often here) I mean, I have a hard time believing that you really can't tell that a post that states that everybody uses FORTRAN isn't serious. I care because HN has a way of ruining satire and sarcasm this way. These are only the delightful sty…
That said, if you feel like `/s` is ruining the sarcasm for you, the solution is pretty simple. GreaseMonkey [0] should be able to remove it very easily, while adding it would be _a bit_ more challenging.
[0] https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
Re: قلب: a non-ASCII programming language written in Arabic
#344This is at best useless, and at worst harmful. If we start using languages other than English for code, then we'll end up balkanizing the software world. People in humanities departments can talk about things like "Chinese Poetry" and "Continental Philosophy," but in STEM, we should be above that nonsense. I should be able to read code written anywhere in the world and understand what it does. This is the same reason…
This is valid python3, try it out. 數字 = 23 運行 = True 假 = False 整數=int 輸入=input 印出=print while 運行: 猜測 = 整數(輸入('輸入一個數字: ')) if 猜測 == 數字: 印出('恭喜, 你猜對了.') 運行 = 假 # 這會讓循環語句結束 elif 猜測 See: http://reganmian.net/blog/2008/11/21/chinese-python-translat...
Latin from https://metacpan.org/pod/release/DCONWAY/Lingua-Romana-Perli... :
use Lingua::Romana::Perligata;
adnota Illud Cribrum Eratothenis
maximum tum val inquementum tum biguttam tum stadium egresso scribe.
da meo maximo vestibulo perlegementum.
maximum comementum tum novumversum egresso scribe.
meis listis conscribementa II tum maximum da.
dum damentum nexto listis decapitamentum fac
sic
lista sic hoc tum nextum recidementum cis vannementa listis da.
dictum sic deinde cis tum biguttam tum stadium tum cum nextum
comementum tum novumversum scribe egresso.
cis
Klington from https://metacpan.org/pod/Lingua::tlhInganHol::yIghun : use Lingua::tlhInganHol::yIghun;
> tIghItlh!
{
wa' yIQong!
Dotlh 'oH yIHoH yInob
qoj 'oH yIHegh jay'!
yIghItlh!
} jaghmey tIqel!Re: قلب: a non-ASCII programming language written in Arabic
#345Earlier quoted context omitted.
My SO works on a project with leeeeeegacy software that still uses an RDBMS/OS combination (yes, it's one product. don't remember the name) in French. `SELECTIONNER * DE clients TRIER PAR ...`
So, an SMBDR/SO? ;) (sorry for the bad joke, I'm just kind of fond of French acronym mangling. The vocabulary is similar enough to English to to keep the letters the same in many cases, only the order is off. It's bit like verlan for the rest of the world)
[1] https://en.wikipedia.org/wiki/Coordinated_Universal_Time#Ety...
Re: قلب: a non-ASCII programming language written in Arabic
#346This isn't the first non-english language, when I was learning basic 20 years ago it had support for german keywords.
This is clearly just a dumb political statement, that being said I don't get why every one is so upset. I guess you could argue that it's cultural appropriation but let's face it anyone who argues that is just petty.
Re: قلب: a non-ASCII programming language written in Arabic
#347I don't even know if what I'm asking makes any sense... Need more coffed
Re: قلب: a non-ASCII programming language written in Arabic
#348I will grant that some of the words share a spelling with English words that have different meanings, but most of the core words we use are not ever used with the same meaning in non-programming contexts. I would submit that the following keywords common to a number of languages are not meaningfully ‘English’ (indeed, one of them is Greek):
String, float, double, long, byte, void, lambda, var, func...
I’ll grant that for, if, public, private, import, extends, let, etc are real English words and there is definitely a hidden privilege native English speakers have when learning to code, but when considering how hard a programming language must be for a non-English speaker to learn because it has English keywords, consider how hard it was for you to learn a new and unfamiliar meaning for the word ‘string’ and recognize that it’s maybe not that insurmountable barrier.
This project is interesting though because it particularly deals with a different script, which is much more dissonant with conventional keywords.
Re: قلب: a non-ASCII programming language written in Arabic
#349Earlier quoted context omitted.
So glad this turned out to be a joke in the second paragraf. The first is very believable. I've definitely encountered people who would write something like it unironically.
TBH, I didn't get the joke until I read your comment. A small "/s" at the end wouldn't hurt.
That zinger didn't tip it off to you?
Re: قلب: a non-ASCII programming language written in Arabic
#350Earlier quoted context omitted.
Agreed. I started to program in BASIC some 7 years before I started to learn English. I had no idea what PRINT or LET meant and was able to program without any problems. Hm, even today, I have not idea why "for" is used for loops (?) and I'm using it without any problems.
Native English speaker and I also don't really get what "for" was meant to mean. At this point it's probably just something that everyone has memorised and part of history.
Or more straightforwardly, in a way that can be applied to other English constructs, "do that for this group"
It's the same "for" in my head in both those versions.