News for hackers. Stuff that matters.
Re:My experience as a Gazan girl getting into Silicon Valley... by slim on Wednesday February 24, 2021 @02:15PM (#26254247)
it's not a choice, we program LTR and in latin because it's a requirement of all programming languages (apart from insignificant exceptions)
Re:My experience as a Gazan girl getting into Silicon Valley... by dang on Wednesday February 24, 2021 @02:50PM (#26254750)
There have been a couple of big HN threads about this - but IIRC, it's an art project rather than an executable language:

قلب: a non-ASCII programming language written in Arabic - https://news.ycombinator.com/item?id=21352508 - Oct 2019 (623 comments)

Ramsey Nasser's Arabic programming language artwork - https://news.ycombinator.com/item?id=7700691 - May 2014 (108 comments)

Re:My experience as a Gazan girl getting into Silicon Valley... by judah on Wednesday February 24, 2021 @05:39PM (#26257136)
FWIW, it's the same in Israel.

Despite Hebrew and Arabic being right-to-left languages, all coding is done in normal left-to-right Latin (really, English) programming frameworks.

As Dalia noted, all major programming languages are left-to-right with Latin alphabet, and their frameworks/SDKs/APIs are filled with English words for functions and classes.

Re:My experience as a Gazan girl getting into Silicon Valley... by slavak on Thursday February 25, 2021 @09:16AM (#26262933)
This can be amusingly seen peeking through in PHP sometimes. The scope-resolution operator appears in the code as "Paamayim Nekudotayim" (double-colon in Hebrew, for non-speakers). You can see it in parse errors:

> $ php -r :: > Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM

https://en.wikipedia.org/wiki/Scope_resolution_operator#PHP

Re:My experience as a Gazan girl getting into Silicon Valley... by ciceryadam on Wednesday February 24, 2021 @06:19PM (#26257529)
People then keep the IDEs in English? Or the UI is set up to the right-to-left flow, only the text blocks with the code itself are left-to-right?
Re:My experience as a Gazan girl getting into Silicon Valley... by girvo on Wednesday February 24, 2021 @07:24PM (#26258172)
My Iranian coworker leaves everything in English for what it’s worth. I can ask her what she would prefer and why?
Re:My experience as a Gazan girl getting into Silicon Valley... by slim on Thursday February 25, 2021 @01:24AM (#26260269)
we keep it in LTR although some prefer to set up the IDE for their preferred latin based non english language. it's because some software messes RTL and the translations for the technical keywords in arabic are not standardized. For example I can't tell you what "Refactoring" would be translated to in arabic