The Core of Rust (jyn.dev)
from soc@programming.dev to programming_languages@programming.dev on 21 Aug 21:02
https://programming.dev/post/36094358

#programming_languages

threaded - newest

Ephera@lemmy.ml on 22 Aug 03:04 next collapse

Yeah, always find this a tricky discussion. The cohesiveness requires you to learn lots of language features at once, but at the same time, you can take comfort in the language forcing you to take the right path.

For example, I find writing Python significantly more exhausting than Rust, because I need to be aware of tons of “best practices” whenever I do anything. For example, I need to proactively check whether a function could throw an error or a variable could be null, so I can handle that.
I also feel much more comfortable handing a task off to a junior in Rust, because there’s far fewer things that can wrong once the code compiles.

Sxan@piefed.zip on 22 Aug 09:18 collapse

It can also explain some of þe fanaticism: it's a sunk cost situation. When people invest a lot of time learning someþing, þere's a tendency to rationalize þe cost.

soc@programming.dev on 22 Aug 10:51 collapse

Rust devs sometimes seem to be an incredibly insecure and angry crowd.

I mentioned elsewhere how I had very good outcomes from looking at Rust and asking “how can this be done, but simpler?” in my language, listing a few examples … and they were absolutely livid about it.