Live data from Hacker News

قلب: a non-ASCII programming language written in Arabic

nas.sr

581–590 of 657 posts

Re: قلب: a non-ASCII programming language written in Arabic

#581
post #116

Earlier quoted context omitted.

Yes, it's only like 20 keywords to learn. I wish people who come up with all these inscrutable icons would realize that.

Why is learning 20 inscrutable icons harder?

1. cannot look up an icon in a dictionary

2. cannot google an icon

3. icons are not standardized - companies copyright their icons and sue anyone else who uses them

4. icons do not have a sort order

5. cannot type an icon into a text editor /word processor

6. fonts don't support icons

Re: قلب: a non-ASCII programming language written in Arabic

#582
post #483

Earlier quoted context omitted.

People have been talking about "everything will be moving to Chinese in the next few years" for the last ~20 years.

I'm well aware. But China is also the only country (or even bloc) in the world that's aiming for a fully internal supply chain for high tech. Not sure you can transform basic materials into a laptop (to pick one simple example) at scale without China anymore, but China is on a pretty successful track to do that without anybody else. Once they get there, I'm not sure they have a lot of motivation left to do high-tech…

The replacement for StackExchange already exists, on WeChat. More for hardware than for software.

Re: قلب: a non-ASCII programming language written in Arabic

#583
post #214

Earlier quoted context omitted.

Non native speakers would'nt be able to take those jobs anyways if names were untranslated and in local script.

That’s what my point is. English is zero-profit for non-natives and hard time for natives in these cases. It could work, if a developer were a perfect english writer, and if english were a clear language of all specific terms in existence. But in reality, both conditions fail miserably in this area. Btw, it’s not a legacy pre-internet problem. In a recent local thread around half of developers couldn’t even translate…

> and hard time for natives in these cases.

Being able to get worlwide support on language/libraries/etc issues, even if you use native words in your business logic, beats writing "si alors sinon" instead of "if then else".

Re: قلب: a non-ASCII programming language written in Arabic

#584
post #479

Earlier quoted context omitted.

Conditionals are not functions in Lisp. They are 'special forms' since they have to control the evaluation of their arguments and functions always evaluate all their arguments. So, if you want to translate a lisp into another language you have to resort to macros.

None and none, as what you need is to alias the symbols for most lisps.

Been a while since I've done Lisp seriously, but I don't believe that's possible, at least in Common Lisp (SBCL). While if responds to symbol function:

  * (symbol-function 'if)
  #
SBCL refuses to set that value to an alias:

  * (setf (symbol-function 'foo) (symbol-function 'if))
  #:
    # is not acceptable to (SETF SYMBOL-FUNCTION)
Trying this with regular functions works as intended:

  * (setf (symbol-function 'bar) (symbol-function 'mapcar))
  #
  * (bar #'1+ '(1 2 3))
  (2 3 4)
Special forms are, well, special and a lot of the regular parts of lisp doesn't work with them.

Re: قلب: a non-ASCII programming language written in Arabic

#585

Earlier quoted context omitted.

Localized error messages are detrimental to solving the problem as googling the error message in a different language will prevent you from finding a solution in the main language.

In compilers it's not uncommon to output an error code in addition to the human readable message. That allows you to google independent of language. Of course if you turn on localized error messages you might actually prefer results in your own language.

This sounds like it's coming from someone who has never had to help relatives fix their broken Windows PCs localized in a language spoken by only a few million people.

Re: قلب: a non-ASCII programming language written in Arabic

#586

The negative reactions here claiming that everyone should use English are really disappointing, on hacker news of all places. Nobody is saying we need to rewrite the Linux kernel in Arabic. But a language such as this could be a great tool to introduce programming to people who would otherwise be turned away by the language barrier. What is important is not the keywords for, if else, etc but the concepts of logic and…

For a long-term perspective, all world should converge on one medium of exchange and everyone must learn that. I'm not suggesting an English hegemony here. We need to avoid balkanization.

Arabic language has subsumed many local languages to be dominant in that part of world. A Bedouin feels a cultural bias towards Arabia if he starts coding in this language.

I'm from India and non-Hindi speaker; if coding is done in Hindi it's cultural bias towards Northern India as opposed to where I'm from.

Re: قلب: a non-ASCII programming language written in Arabic

#588

The negative reactions here claiming that everyone should use English are really disappointing, on hacker news of all places. Nobody is saying we need to rewrite the Linux kernel in Arabic. But a language such as this could be a great tool to introduce programming to people who would otherwise be turned away by the language barrier. What is important is not the keywords for, if else, etc but the concepts of logic and…

I'm wondering how many people would be outright afraid of installing and running a program in a language that they have no chance of reading. This is the rough equivalent that all non-programmers have to deal with everyday.

Right. So about your bank, you're sure none of the owners speak Hebrew?

What I'm saying is, is that your head is up your ass if you believe bits on a computer are more significant than the words we speak.

By proxy and according to my measurements, human language is a larger factor than programming language.

Re.: antisemitism: Jews are pretty good. Plenty of groupings I like less. I know Hebrew should be all over the place according to your (exoteric) religion so as a Dutchman I'll hold you to your word. Produce that Moshiach already?

Re: قلب: a non-ASCII programming language written in Arabic

#589
post #50

Earlier 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.

Huh? It's pretty common even in basic college math courses to use language like "for every p in Q". It's not like programming invented this usage.

Re: قلب: a non-ASCII programming language written in Arabic

#590

Earlier quoted context omitted.

I'm wondering how many people would be outright afraid of installing and running a program in a language that they have no chance of reading. This is the rough equivalent that all non-programmers have to deal with everyday.

Right. So about your bank, you're sure none of the owners speak Hebrew? What I'm saying is, is that your head is up your ass if you believe bits on a computer are more significant than the words we speak. By proxy and according to my measurements, human language is a larger factor than programming language. Re.: antisemitism: Jews are pretty good. Plenty of groupings I like less. I know Hebrew should be all over the…

Not sure what this is supposed to mean but please keep flamebait off HN. Antisemitic provocation certainly is that.
Post reply on HN