177
submitted 10 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
[-] De_Narm@lemmy.world 64 points 10 months ago* (last edited 10 months ago)

Even if pretty much all popular languages are based on English, you do not have to learn English first. There aren't that many keywords to begin with and your variables, functions and comments can be any language you want to. The hard parts of learning a language, like grammar, conjugation, pronunciation etc. all aren't needed.

That being said, English still is the agreed upon language and people probably won't contribute much to projects in other languages and you can't read most documentations.

[-] SquiffSquiff@lemmy.world 35 points 10 months ago

Realistically you will always need to be able to read documentation for:

  • Your language
  • Your compiler
  • Your platform
  • The APIs you're calling

All of this will be in English even if your project is in another human language. Yes there will be translation for some of it available but it will be partial, incomplete, dated, etc. you'll be using English so much anyway and have people from other countries working on the code regardless that you're adding a needless barrier using a different national language.

Look at the French government open source codee for instance. The overall website is in French but the actual repos are covered and mostly seem to be in English

[-] ChapulinColorado@lemmy.world 18 points 10 months ago* (last edited 10 months ago)

I would say the largest loss for a non English speaker is not having the full context of the method and variable names, as well as the comments or API descriptions within the source code. My friends from Mexico all mention English is a requirement on basically any university offering computer science/engineering.

Edit: you can always use google translate, but that will inflate the time required.

[-] aard@kyu.de 1 points 10 months ago

Thanks to more and more languages supporting full unicode for symbols this will eventually be a thing of the past, fortunately: we can just switch to functions and variables being named only with one or more descriptive emojis.

[-] taladar@sh.itjust.works 8 points 10 months ago

Emojis as identifiers? That seems like an outdated solution. We really need gifs for that.

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

Asklemmy

44004 readers
603 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