5
peeyush
6y

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?

Comments
  • 1
    Rust does have a slightly high learning curve than usual
  • 1
    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'.
  • 0
    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.
  • 1
    @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.
Add Comment