Comment on Hi, I want to start programming but dunno where to start and which language to learn

<- View Parent
mmstick@lemmy.world ⁨1⁩ ⁨year⁩ ago

You’re not making the strong case that you think you are. Quite the opposite. The ease of “shooting yourself in the foot” is precisely what makes it so difficult to learn. Segmentation faults and random memory corruption make it incredibly hard to get started with programming. So much so that many people give up when it gets too difficult to diagnose them. The compiler typically providing no help at all for diagnosing where the memory handling flaws are.

Rust’s constraints are very clear and concise in comparison, with a helpful compiler that will teach you how to handle memory correctly. I believe you’re mistakenly assuming it’s more difficult to work with than it really is. For example, imagine telling someone that pattern matching in Rust is more difficult than constructing unions and casting pointers in C. I’ve worked with a number of people over the years that had little experience in programming outside Rust.

source
Sort:hotnewtop