this post was submitted on 29 Jan 2025
53 points (88.4% liked)

Programming

17984 readers
286 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] Rogue@feddit.uk 2 points 6 hours 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.