this post was submitted on 01 Sep 2023
337 points (96.2% liked)

Programming

17503 readers
6 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 [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

Funny, I think C++ is literally the worst language to learn programming. I would go with JS or OCaml at first, then Rust if they need manual memory management.

[โ€“] [email protected] 1 points 1 year ago

I thought about explaining why, but ultimately decided against it. Felt like it would take much of the hotness out of the take :D

My rationale is that C++ not only implements pretty much every concept there is, it allows for high- as well as low-level programming. That way you can learn bottom-up or top-down... Or both! Whatever suits you. You can also use it for pretty much anything and natively on pretty much any platform. That's especially great for students with tons of different devices who don't know what they want to do later. And it has a lot of strange, basically deprecated stuff built in you can use as curious examples and to make the learning process more interesting.

Finally, if you can deal with C++, you can deal with anything. It is a horrible yet beautiful language.