Live data from Hacker News

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

nas.sr

21–30 of 657 posts

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

#21
"All modern programming tools are based on the ASCII character set, which encodes Latin Characters and was originally based on the English Language. As a result, programming has become tied to a single written culture. "

And that's good. That means "we" hackers/programmers/developers/coders/whatever share something in common, no matter our culture/country/religion/beliefs/whatever. Heck, I'd even go as far as saying it's a thing of beauty.

BTW, I'm not a native english speaker.

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

#23

Retrofitting an existing language with flexible syntax (in this case, LISP) to non-English languages is relatively easy. They are not necessarily bad and can be useful for learners and casual users, but deviating from ASCII alone doesn't remove a cultural bias as the OP states. Programming languages have to be developed from scratch to fit to other spoken languages and cultures in my opinion. I'm aware of multiple (n…

> Programming languages have to be developed from scratch to fit to other spoken languages and cultures in my opinion.

This is really interesting. I wonder if there are some human language with properties that would allow for programming language constructs that we don't really use today.

My linguistic skills are not good enough to really suggest an example, but considering there is a language[0] (almost) without relative directions (left and right), which is mind blowing to me, it feels like there should be something interesting out there.

[0]: https://en.wikipedia.org/wiki/Guugu_Yimithirr_language

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

#24
post #21

"All modern programming tools are based on the ASCII character set, which encodes Latin Characters and was originally based on the English Language. As a result, programming has become tied to a single written culture. " And that's good. That means "we" hackers/programmers/developers/coders/whatever share something in common, no matter our culture/country/religion/beliefs/whatever. Heck, I'd even go as far as saying…

It is beautiful, but it's a barrier also. I don't think you should be barred from learning to code because you don't speak a language which uses the Latin/ASCII character set.

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

#27
post #12

I've always wondered why this is not more common. Is there a reason you can't just have localized keywords in each language that map to the same thing? Chinese JavaScript, etc?

The A#1 most import aspect of a programming language is consistency. The alternative is localization hell, with no options in the middle.

Most things aren't this black or white, but this is one of them. Whatever the keywords for a language are, they must be exactly the same everywhere.

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

#28
post #12

I've always wondered why this is not more common. Is there a reason you can't just have localized keywords in each language that map to the same thing? Chinese JavaScript, etc?

Excel seems to be localized and I absolutely hate it. A german version of excel expected me to write WENN instead of IF, or SUMME instead of SUM. It's dumb. Especially since if you're trying to look up code snippets or how to do something in excel, you'll find one in english and then have to find the corresponding german commands.

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

#29
post #21

"All modern programming tools are based on the ASCII character set, which encodes Latin Characters and was originally based on the English Language. As a result, programming has become tied to a single written culture. " And that's good. That means "we" hackers/programmers/developers/coders/whatever share something in common, no matter our culture/country/religion/beliefs/whatever. Heck, I'd even go as far as saying…

It is beautiful, but it's a barrier also. I don't think you should be barred from learning to code because you don't speak a language which uses the Latin/ASCII character set.

feel the same. there's a lot of people out there who never get a chance to learn any english. to write your own code based on ascii / latin char set might be ok, but to interpret other's code etc. would be very difficult. so for example in a school, having only code examples with ascii could be a significant barrier to teach ,when all other subjects presented are in the local language / character set.

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

#30
post #2

Scala supports Unicode characters in identifiers. It would be interesting to know your take on that.

Doesn't almost all major "modern" languages support that? The list is quite long: https://rosettacode.org/wiki/Unicode_variable_names
Post reply on HN