this post was submitted on 26 Feb 2024
36 points (90.9% liked)
Linux Gaming
15789 readers
4 users here now
Gaming on the GNU/Linux operating system.
Recommended news sources:
Related chat:
Related Communities:
Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
why would anyone recommend arch to a newbie is anyone's guess
Probably the same reason you’d recommend c++ instead of Python to a new developer.
Yes, they’ll learn Python faster, but with c++ they’ll learn programming faster simply due to how much Python does on the programmers behalf.
There are valid arguments for both sides
I strongly disagree.
If you want someone to learn how programming works mechanically, recommend C. It's a very simple abstraction over the hardware, unlike C++ which comes with a ton of complexity that's completely unrelated to the task of learning how programming works. There's way too much magic with things like templates, operator overloading, etc that gets in the way. In fact, I recommend learning C on very simple hardware, like an Arduino, where you don't have any of the nonsense associated with operating systems, like system-specific nuances in file handling and whatnot.
That said, I'll always recommend Python first to new programmers. It has relatively little magic while abstracting away most of the annoyances and footguns that you'll get in lower-level languages like C. Once the user is comfortable using Python to get things done and is interested in learning more, I'd throw them in the deep end and recommend Rust, which forces you to contend with things programmers are expected to understand (but can easily get away with not understanding) in C/C++, such as ownership and lifetimes. Python is the "get stuff done" language, and Rust is "theoretical CS in practice." If they really like Rust, I'll steer them toward functional languages like Haskell which go even harder on the CS theory. Or if they want something a bit more "mainstream" than Rust (e.g. they want to make games), going for C++ makes a lot of sense, and they'd probably write better C++ because they've learned the strategies and terminology from Rust.
I strongly disagree with this. I've learn to program with C (pure C), and I lost so much time with that language's cruft and idiosyncrasies. Python is a much better tool to teach programming concepts.
Because the FUD surrounding Arch as robust as it is wrong.