Not sure about today but VBA (in the MS Office products) actually had translated keywords because Microsoft is batshit insane.
I hate using Excel for this reason. ALMOST all functions are translated, so you're never sure what to look for. If you find a solution for a problem online? Doesn't work, you'd have to rewrite it in your language. And you can't even switch the language in settings, because it's tied to the OS language (maybe you can in recent versions, haven't bothered to check for a while).
This is why I never touch language setting in any OS. It's guaranteed I'll have some problem down the line because I can't search the problem or understand the solution if error crops up someday, because the menus are different.
Error messages are a pain to search for when they are translated too.
Not sure about VBA, but Excel formulas are actually saved in English and translated on file load. It doesn't translate strings though, so EVALUATE only works for users with the same language as the author.
Real world scenario happening to me:
Reinstall my win os to use French because a) back in the day you couldn't just change language, b) scrips were VB written french (so si instead of if etc).
Hehe French programming. It's probably like
essaye:
faire_qqch()
sauf OhMonDieuQuEstCeQuiSePasse:
imprime("putain")
Cucumber/Gherkin also has translated keywords (even Emoji.. smh) but there it actually makes sense because you actually write it in natural language.
I am sceptical of natural language programming in general but I am also fairly certain that you would have to do a lot more than just translate the keywords to get something that looks natural in another language. Word order is different in many languages for one.
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.
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
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.
Not programming but the question reminded me of Aviation English. All pilots and air traffic controllers must learn how to speak "aviation english" in order to communicate. It's essentially a few hundred English words and basic syntax all related to aviation. I'd say learning a programming language is kind of like learning Aviation English.
Ideally, you need at least some basic understanding to use the vast majority of languages. The problem isn't even writing the code itself, you can definitely just memorize the keywords and some basic concepts and have at it. If you ask me, the real issue is the availability, amount and overall quality of documentation and learning material if you go about it that way.
I have a few coworkers who skipped the learning English part and learned most everything from other non native speakers and they tend to be crippled by often not really being able to make use of official documentation or keep up with new things, since the vast majority of content out there is in English. It also has the unfortunate side effect of pushing them to stick with whatever it is they learned way back when and not really looking for better ways of getting things done.
So basically, you can pull it off without knowing English but it's going to be suboptimal and/or painful IMO.
Bash commands feel like fake English to me. I know they're abbreviations, but that's the closest I felt to simulating that feeling of a non-english speaker memorizing commands to do something.
No, they exist but they are rather rare.
Here is an example of a programming language that is completely in Russian: https://ru.m.wikipedia.org/wiki/%D0%92%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F_1%D0%A1:%D0%9F%D1%80%D0%B5%D0%B4%D0%BF%D1%80%D0%B8%D1%8F%D1%82%D0%B8%D0%B5#%D0%9F%D1%80%D0%B8%D0%BC%D0%B5%D1%80_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D1%8B
That said, English is the lingua franca of the field of computing. You aren't forced to learn it, but without it, you'll deny yourself access to the vast majority of material out there, be it books, articles, papers, documentation, specification, and so on.
I would say that while language constructs are typically English words, they don't really require English comprehension to learn. That said, the vast majority of programming support, documentation and community are in English, and are not accessible without English comprehension.
There's also kumir. It was(is?) used to teach kids how to program. I first learned programming using it many years ago. I still think that it made me a better programmer than people who were using Pascal instead. They were both popular in schools at the time.
There's always machine code, just writing numbers for the functions of the CPU. Or you have Esoteric programming languages like Brainfuck that doesn't use any words at all, it's just very simple instructions. There's Piet, which is a pixel colour based programming language.
To be frank; no programming languages are based on English, they are all based on logic. They are most often expressed in English, but there's really no reason one couldn't have a translation layer for every programming language. But that would make it a lot harder to find the solution if you have some fairly niche problem. Having everything in one language is simply more efficient since it doesn't fragment the questions and answers.
But a quick search gave me https://analyticsindiamag.com/6-popular-non-english-programming-languages/. The simple answer to your question thus is; No
No. The Soviets had one that was basically C but a decade early called Адрес (address). The higher-ups were skeptical of the concept of computers, though, so computing in the USSR languished anyway.
I think the Chinese have something going too. Mostly educated global people know some English anyway, though.
there's some really great mini documentaries on YouTube above the Soviet internet of the 1960s, which would have taken over as the central planning committee and managed the supply and demand automatically. When you look at what it was supposed to be, and why it failed (a lot of people worked very hard to make sure it wouldn't succeed) it's really interesting stuff.
here's one I watched recently enough about it; [https://youtu.be/cLOD5f-q0as?si=D8mVJiK603HPdgKY](Asianometry - Why the Soviet Internet Failed)
The higher-ups were skeptical of the concept of computers
It's arguably dumber than that. The higher-ups treated R&D like any other centrally-planned ordeal, which meant a bunch of incredibly smart people in different countries were at each others' throats for the privilege of trying to build a thing... rather than just building multiple things and picking the ones that worked.
When it was a 5-ton, room-filling affair - called the Small Electronic Calculating Machine, because all programmers are the exact same kind of dork - building exactly one kinda made sense. When the west had three competing 6502 minicomputers for like a hundred bucks each, it was just tight-fisted control for the sake of political grandstanding. The fuckin' BBC rolled out a better centralized computing standard.
The root problem is having "a bicycle for the mind" in a country that restricts travel.
Honestly, no. I do know English, however the syntax is always very far removed from actual sentences and learning how to use the syntax is way different from how languages work.
That said, you're kinda porked when it comes to reading through documentations, APIs, and watching tutorials, as most of them are in English.
I do have about 2 friends though who can code and are not particularly versed in English.
My first contact with computers in school was with a dialect (?) of LOGO that used commands based on Spanish. GD (giraderecha) instead of RT (right) or AV (avanza) instead of FD (forward).
Not that you mention it, it's kind of strange that Java isn't based on Javanese
Or Brazilian Portuguese since they are the largest exporter of coffee beans :)
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.
You kind of learn some English along the way while programming. At the beginning, you just memorize the commands and most of them use rather basic words anyway. Everything you name (functions/variables) you could write in your native language. Also, autocompletion helps...
Brainfuck certainly isn't. Most assembly languages use opcodes that are sorta English abbreviations, like STA for Store value in the A register. I haven't done much work in assembly but I think there are several standards which don't strictly speaking use English keywords.
I do recall hearing of a language described as "You can write in it in any language" I guess meaning the various bits of syntax are done with special characters? I forget which it is.
Well, in ex-USSR there is 1C which in syntax is a bit like Pascal with Russian instead of English.
Also plenty of other languages using Russian keywords, but for the purpose of your question - I think it's safe to assume that anything relevant uses English.
I'm from a non-english country and some of my coworkers don't speak English at all, so... no. That said, it's very inconvenient and they use the google translator all the time (which is shit, told them to use deepl at least).
Anyhow, there are programming languages that aren't English based: I don't remember the names but, for example, there is one that uses Latin
Yes. Although it's possible to learn programming without knowing English, English is required for those who wants to be good programmers. All documentation is in English, naming and comments should be in English too, otherwise it would be hard to maintain code for developers from other countries.
It's more of a gag language, but there's ChavaScript in Hebrew which is basically just translated JavaScript
There's OSTRAJava, a parody esoteric language based on a very specific regional accent of the Czech language.
The OG SAP application was originally written in German, I don't remember what language it was written in but I remember writing automation scripts back in the day and being like "how do I convert this perl/Python/bash script into German".
If you’re from a non English speaking country, do you first have to learn English if you want to get into programming?
You don't necessarily have to learn English well, but yes, everyone programs in English. Some people put variable and function names to be another language, but generally English kind of "won" as the universal language and trying to deviate from it is almost impossible.
You may find Qalb interesting. It's an Arabic programming language made for research on the cultural biases of modern computer science.
The French were working on an all French version of Cobol at one point, back when Cobol was still used.
back when Cobol was still used
try searching for COBOL on any big job site, it's still in use today :)
Well, there are programming languages that are not based on English (like BQN) In reality though the vast majority of the documentation, books, online discussions etc. are in English so I'd say it is at least hugely beneficial to know English.
This was a really interesting question with good answers! :)
I think there was a language called like Mind Fuck or something, which looked like it only had special characters to do things. Check it out. Maybe not the best for learning though lol.
I learned to program at the same time I learned English. I learned the words if, then, else and while in this context.
There’s a few programming languages that aren’t based around English, but they’re pretty rare and I’m not sure many people use them. It’s kind of sad because it makes programming much less accessible if you’re not an English speaker… But it’s also sort of a blessing because it’s easier to understand code you might have to interact with because it’s probably written in an English-ish language with the Roman alphabet, and you’re not stuck trying to read Japanese or Arabic or something to understand a library. I have mixed feelings on it. It’s convenient for me as an English speaker, but it also seems kind of unfortunate. I’ve heard that computer science is a field which is having a pretty big impact on the spread of English in the world, but I haven’t found a citation for that and I’m not sure I believe it.
Asklemmy
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- 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.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~