Most of the World Can't Code
10 points| jayathra | 11 months ago
If you don’t, your chances of becoming a programmer drop drastically - not because you lack intelligence, but because everything from syntax, documentation, and debugging tools is built in English.
Why is coding still tied to a single language? Shouldn’t anyone, regardless of their native script, be able to write Python in Japanese, Arabic, Sinhala, or Hindi - while keeping full compatibility with existing ecosystems?
Has anyone here faced or thought about this problem? What do you think the biggest challenges would be?
yshklarov|11 months ago
In my view, having a single lingua franca is nice. It better facilitates knowledge transfer. I wouldn't want to see a fracturing where each area of knowledge (or, say, every specialization/application programming) is best treated in a distinct linguistic community. That would be bad for everyone.
jayathra|11 months ago
Rather than fragmenting knowledge, what if we had a system that let people write and learn code in their native script, while still maintaining full compatibility with the existing programming ecosystem? Similar to how Unicode enables multiple languages on the web without breaking global communication. Do you think that could work?
throwaway798214|11 months ago
Assembly:
Brainfuck: Oh, you meant easy to learn programming languages based on a real language? Yeah, English just happens to be one of the easier languages to learn and if you need to learn a programming language you can just as well learn English on the side. I did.jayathra|11 months ago
jotux|11 months ago
Tomte|11 months ago
Today German Excel still doesn't accept "XLOOKUP", but insists on "XVERWEIS". On input, that is, it silently converts languages when opening .xlsx files.
jayathra|11 months ago
Silent conversions could definitely be messy, but what if there were a standardized system that allowed programming in any script while keeping everything interoperable? Could that avoid the pitfalls of past localized languages?
nextts|11 months ago
Sounds like a bug waiting to happen
yubblegum|11 months ago
Other option is for future languages to be formally specified in a globally adopted IL and then your local area geeks are responsible for writing a front-end that transpiles to that IL.
Or we could design and adopt a universal (~visual) glyph for programming. Various structural elements (think [ ], { }, < >, etc.) are pretty much that already. Then we have the (pseudo) mathematical elements (+, -, /, =) which are again universal. That leaves us with named elements which remain somewhat problematic.
In any event, all this seems to be a transitional period's grief. Very soon, you will interact in your native language with some AI and that thing will write the actual code. :)
Regardless (thinking of music notation here) programming notation is ultimately a specialized form of notation. Are you bothered by the fact that a musician in x-land has to learn the notation invented by some Europeans way back when?
jayathra|11 months ago
But with AI handling more code generation, how important will it be for people to truly understand the underlying code? Do you think AI will make coding more of a black box, or will there always be value in knowing how things work under the hood?
Music is a great comparison—eastern music notation exists in native scripts, and western pieces can be translated into it. Could programming work the same way, where the structure remains universal, but the notation adapts to different languages?
tacostakohashi|11 months ago
I guess if you're learning all of C/C++/Java/Python/etc... the "English" keyword meanings are a tiny/trivial part of what you need to learn anyway.
Also, using English means you only need ASCII, and a US keyboard layout which allows easy entry of the printable ASCII characters. For Japanese, Arabic, etc... you need need Unicode, input methods, UTF-8 / UTF-16 etc., all of a sudden there's a whole lot more to go wrong than if you use English in ASCII.
jayathra|11 months ago
beardyw|11 months ago
That said, I later opted for Latin for reasons neither I nor the examiners could explain.
jayathra|11 months ago
taylodl|11 months ago
jayathra|11 months ago
If programming were script-agnostic from the start, we wouldn’t have to constantly adapt to shifting global languages. Instead of relying on English or any single language, shouldn’t we explore ways to make programming more accessible to all scripts from the ground up?
unfixed|11 months ago
Even coming from one of the most used languages in the world (and having a just enough english level), is very rare that I search of read something programming related in other language than english.
jayathra|11 months ago
You mentioned that you rarely search for programming-related content in Spanish. Do you think that’s because English is simply better suited for programming, or is it more about the lack of high-quality programming resources in Spanish?
If programming had built-in support for multiple scripts while keeping a universal structure, do you think more people would use resources in their native language?
romanhn|11 months ago
jayathra|11 months ago
Even if basic materials exist in other languages, most advanced documentation, debugging tools, and libraries remain in English. Do you think that creates a significant disadvantage for non-English speakers?
disqard|11 months ago
https://dl.acm.org/doi/10.1145/3173574.3174196
jayathra|11 months ago
The paper you linked explores text-free programming through visual programming tools, which is one possible solution. But what do you think about making existing text-based languages, like Python or JavaScript, script-agnostic instead of moving entirely to visual coding?
Would love to hear your thoughts on whether a hybrid approach — where code can be written in any script but still remains text-based — could work.
slowtrek|11 months ago
jayathra|11 months ago
unknown|11 months ago
[deleted]
bschmidt50|11 months ago
[deleted]