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
    11
    arrow-down
    1
    ·
    edit-2
    1 day 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
      3
      ·
      7 hours 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
      ·
      8 hours 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.

    • Rayquetzalcoatl@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      Oh! I assumed it was something to do with the city of Ur, being some sort of analogy for the root of civilisation or something