• reksas@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    2 hours ago

    much easier to look for guidance for coding in english instead of my native language, syntax makes more sense too. Though personally i would wish more stuff was properly translated into finnish instead of english slowly gnawing at it.

  • Alvaro@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    3 hours ago

    There have been some interesting attempts to translate languages, but generally at most you would get phoneatically local names using English characters for functions and variables, etc.

  • Muffi@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    5 hours ago

    Never even heard of a programming language in Danish. Even the ones invented by danes are in english.

  • ILikeTraaaains@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    8 hours ago

    I wrote variable names and comments in Spanish when I started as my English level back then was very low.

    Once my English improved and started to use English documentation and tutorials I just switched to write in English.

    In my previous job I worked at software consultancy, I had coworkers who wrote code in Spanish but it wasn’t the norm.

    Currently I work for an international company, the team is Spanish but we have to write everything in English as it can be shared with teams in other countries and audited by international organisations.

    When AI tools were allowed, a lot of people use them in Spanish, it generates code with comments in Spanish. I had to reject a lot of PRs from the same guys over an over because everything must be in English.

    • HM King Charles III DG FD@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 hours ago

      I use British English in variables for the word “colour”. It’s actually kind of useful because I can tell when it’s my own variable and when I’m interacting with something else.

  • noobdoomguy8658@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 hours ago

    Russian here.

    For the most part, it’s all English. Not even romanized Russian in variable names, although that happens sometimes. Comments are mostly in Russian, though. Depending on the company and whether it has to deal with countries where Russian isn’t as widespread, which is not a lot these days, that English can be a little difficult to understand once you start applying English language logic to it as opposed to basically writing Russian poorly translated to English. It’s fine if the variables, classes and method names are short and offer little room for stringing words together, but anything complex poses risk of producing something that will be difficult to read without heavy Russian background and developed English skills (at both comprehending and producing).

    However, there is a number of Russian-based programming language. I am fortunate to have never worked with any one of them. One of them is 1C:Enterprise, which is also a sizeable business for automation software and such.

    Here’s what it looks like. I can spot a couple of English words there, though. And having learned programming through English and English only, I actually find it more difficult to read, because Russian-native developers still often refer to things in English, even if there’s a word for that same thing in Russian - it’s just that much part of your programming work.

  • AItoothbrush@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 hours ago

    No chance, hungarian has non-ascii characters(ő and ű), digraphs(cs, dz, gy, ly, ny, sz, ty, zs) and a trigraph(dzs). Also generally how the language works is pretty disadvantegous to coding and tech. English has maaaany useful one syllable imperatives(get, click, etc), even with doors irl its often in english whether you pull or push cause hungarian doesnt really have these completely stateless verbs. One thing that did exist back in the day was people coding in german but i only know a single person who still does this.

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 hours ago

    We always code in English at work. Using our native language for programming is generally frowned upon.

  • buran@lemmy.today
    link
    fedilink
    English
    arrow-up
    0
    ·
    14 hours ago

    I’m a native Spanish speaker, it depends on the language and the person.

    Spanish has very few diacritics, so it’s quite understandable in ASCII (áéíóúüñ). But I guess it would be a lot harder in other languages like Czech or Vietnamese.

    When I program for myself or in public repos, I tend to code everything in English, but when I have to do projects with classmates at my university, I usually do it in Spanish because they are not great at English.

  • sbeak@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 hours ago

    As somebody with a friend who speaks Chinese as their first language, I know she often uses non-English file names, variable names, etc.

    It’s still standard Python and C++ though (and excellent code at that!), nothing esoteric.

  • Treczoks@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    20 hours ago

    About every programming language is based on English. Names for functions, objects, variables are based on personal, project, or company preferences. In reality you’ll find these only in two languages as far as I’ve seen in the last decades: either English or Chinese. I’ve seen German and, sadly, French, but they are outliers.

  • cally@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    20 hours ago

    Online: everything in English for me, except for some explanations sometimes but that’s just at random as I’m a hobbyist/amateur.

    Offline (a course I did): explanations in Portuguese (Brazil), we learned Portugol (programming language that uses Portuguese keywords) as an introduction then switched to C.

  • Vegafjord - demcon@slrpnk.net
    link
    fedilink
    arrow-up
    0
    ·
    21 hours ago

    I quit my degree in computer science in 2018 after studying for two years, but I remember that it was a big focus on using norwegian for variable names.

  • schnurrito@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    22 hours ago

    Most popular programming languages have English-language keywords and that can’t be changed, so we certainly have to learn those.

    How we learn to name symbols (variable/function names), that obviously depends on the programming course. But most real-world code has most symbols written in English with the possible exception of business-specific terminology that the business doesn’t use in English. The same is true of comments.