I regularly hear people asking which programming language to learn, and then reeling off a list of very similar languages (“Should I learn Java, C#, C++, Python, or Ruby?”). In response I usually tell them that it doesn’t really matter, as long as they get started. There are fundamentals behind them.

What do I mean when I say fundamentals? If you have an array or list of items and you’re going to loop over it, that is the same in any imperative language. There is straightforward iteration and there is iterating over all unordered combinations and a few other patterns, but those patterns are basically the same in C, Java, Python, or Fortran. Having neural pathways that fluently express intention in these patterns, the same way you express thoughts in sentence structures in English, are fundamentals.

But not all languages have the same set of patterns. The patterns for looping in C or Python are very different from the patterns of recursion in Standard ML or Prolog. The way you organize a program in Lisp, where you name new language constructs, is very different from how you organize it in APL, where fragments of symbol sequences are both the definitions of behavior and become the label for that behavior in your mind.

These distinct collections of fundamentals form various ur-languages. Learning a new language that traces to the same ur-language is an easy shift. Learning one that traces to an unfamiliar ur-language requires significant time and effort and new neural pathways.

  • Kissaki@programming.dev
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    1 month ago

    Is ur an English word? Known meaning in English languages? I don’t think so? I’m surprised they don’t mention why they name it ur-languages.

    In German, the word prefix ur means origin, stemming from the word Ursprung (origin). Which makes sense as origin-languages. And could have been named origin-languages, honestly.

    • bestboyfriendintheworld@sh.itjust.works
      link
      fedilink
      arrow-up
      7
      ·
      1 month ago

      Ur is used in German a lot to signify something being ancient or the origin.

      Großvater means grandfather. Urgroßvater means great-grandfather.

      Ursuppe - Primordial soup

      Urknall - Big Bang

      Ursprung - Origin

      English uses it as a loan word and prefix.

    • esa@discuss.tchncs.de
      link
      fedilink
      arrow-up
      4
      ·
      1 month ago

      Smells a bit Scandinavian to me. In Norwegian we also use “ur” that way, including “urspråk” (Ursprache, ur-language). We have a different word for origin (opphav), so ur remains a prefix that’s difficult for us to translate.

      Going by Wikipedia however, the English translation for Norwegian urspråk and German Ursprache is proto-language.

  • Treczoks@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    1 month ago

    Amazing. I can give myself 6/7 points - I have not done anything in ML, but I’ve seen Miranda, and it was a clusterfuck…

    And what he completely left out are HDLs like VHDL and Verilog, which are a totally different animal requiring a totally different mindset. And I have seen otherwise seasoned programmers being unable to grasp this area of expertise.

    • Fades@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      1 month ago

      Honest question, do you believe that your anti-ai license has any measurable impact on what these companies do with the data they vacuum up from your comments?

      • onlinepersona@programming.dev
        link
        fedilink
        arrow-up
        5
        arrow-down
        2
        ·
        edit-2
        1 month ago

        Let me rephrase your question: does individual action have impact on the whole?

        With that kind of thinking, nobody should do anything ever. No need to vote because your will as a single voter doesn’t matter. No need to stop eating meat because most others won’t. No need to try to reduce energy consumption because most others won’t. No need to boycott a product because most others won’t.

        So, honest question back: is that really how you want to think?

        Anti Commercial-AI license

        • Corbin@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          4
          ·
          1 month ago

          Open your mind a little; collective action has an impact but individual action may not. Paraphrasing Cloud Atlas, certainly an ocean is nothing more than a vast collection of raindrops, but each individual raindrop collectively acts as a body of water. This dissolves your false dilemma.

      • bestboyfriendintheworld@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        1 month ago

        Using licenses to take a political stance is a valid idea. It’s even worthwhile, if there’s little uptake for it. Signaling opposition even if it’s symbolic only, has some value.

        An aggressively scraping AI company could easily ignore it and it would be hard to prove a violation.

  • flatbield@beehaw.org
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    1 month ago

    In college, one of the best courses I took was Programming Languages. It covered a smattering of languages illustrating different approaches and methods. Maybe a week or so on each plus you had to write some code in each.

  • Rogue@feddit.uk
    link
    fedilink
    arrow-up
    7
    arrow-down
    4
    ·
    1 month ago

    tl;dr

    When an enthusiastic novice asks what language to learn you should pretentiously tell them it doesn’t matter because the majority in use today are similar and trace their roots to the same source.

    For pretentious reasons we’ll define that source as an *ur-*language because that’s a defined prefix that nobody uses in reality so it’s a great way to assert I’m more cleverer than you.

    Now, here’s a long rambling lesson on other ur-languages that nobody uses because they’re overly complex but because I’m so much cleverer I clearly know them all.

    To conclude I’ve ignored your original question but don’t worry, here’s a link to the programming course I sell.

    Once you’ve completed your first you shouldn’t bother putting it into practice but instead every year try a language completely unrelated to the first so it’s extra difficult. Just ignore the fact it’s guaranteed to be a dead language nobody uses in reality. it’s more important to be different than have practical skills.