Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Rust ist complex.
Which is due to it's borrow / lifetimes / ownership concept mostly
In my humble opinion the code is very ugly, too.
Another thing that I really dislike is that rust is still somewhat unstable - they still rework core parts of the parser / language (like the borrow detection) and still find critical bugs... Yet they add more and more features / syntax sugar. While a language should evolve somehow, I find it weird to call it stable and ready for use when it seems to be more a case of 'we're still working on everything'. -
I've taken a look into Rust, and what I immediately hated was that it's an opinionated language. Global variables are hard to make because they're bad.
Yeah fuck that shit, I want to solve problems and not dick around with language puzzles. If I decide that a global is right, then that's it. Same with goto. -
@Hubot-0x58 And then it's even more mucking around with shit to work around the language designers' preferences, especially when the global isn't read-only. Or going for unsafe.
Or just enjoy C and not have to work around the language designers' preferences. :-) It's not that hard to make a wrapper and slap a mutex around access in case that's needed.
Related Rants
Starting with rust, seems like an advanced language and I think python corrupted me, it makes learning new language a task. Is it python or rust is bit complex?
question
rustc
rustup
rust
python