177
submitted 11 months ago by StorageB@lemmy.one to c/asklemmy@lemmy.ml

If you're from a non English speaking country, do you first have to learn English if you want to get into programming?

you are viewing a single comment's thread
view the rest of the comments
[-] cmat273@sh.itjust.works 16 points 11 months ago

There are Arabic based programming languages, which is pretty interesting because right to left.

Generally though you need to know some English to learn the more widely used ones.

[-] evranch@lemmy.ca 2 points 11 months ago

Neat. That's something I never even thought of. When typing in Arabic, does the cursor proceed from right to left, then?

Is this somehow handled with locales, are custom operating systems required, or is it really only handled by specific editors like word processors?

I'm trying to imagine how this would work at, say, a console bash prompt.

[-] Jordan_U@lemmy.ml 4 points 11 months ago

https://en.m.wikipedia.org/wiki/Right-to-left_mark

It's just a Unicode character; Copy-Paste and experiment!

(If you'd like more direction on how to play with this in a *NIX terminal let me know.)

[-] NeatNit@discuss.tchncs.de 2 points 11 months ago

Terminal environments are always awful at RTL, they always need to make shitty compromises that graphical environments just don't need to make. The fact that you even need a RTL mark is already a bad start - graphical text renderers can deduce text directionality based on the characters in it.

[-] dan@upvote.au 2 points 11 months ago

Try using a website in an RTL language some time. Facebook and Google both support Arabic and Hebrew for example. The entire site is flipped - a left sidebar would instead appear on the right, a logo might be at the top right instead of top left, etc. Getting it right is hard, especially with mixed RTL/LTR content (like if you have a Hebrew page with some English words on it).

this post was submitted on 13 Jan 2024
177 points (93.2% liked)

Asklemmy

44183 readers
1655 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS