4 ms·
If you don't mind, what where the things that were hard to deal with? You mention "function calls", but I'd like to understand what that actually means in pract
by estebank 4y ago
If you don't mind, what where the things that were hard to deal with? You mention "function calls", but I'd like to understand what that actually means in practice. This kind of negative feedback is useful to improve Rust for any other newcomers, even if we have already soured you for good.
- andrewstuart 4y agoI could not even succeed in doing the simplest thing like putting code into a function and executing the function and getting a result back. I can't recall why.
- likeabbas 4y agoInterestingly, I started a side project to rebuild OneTimeSecret in Rust yesterday and got the basics working already https://github.com/likeabbas/RustOneTimeSecret https://github.com/likeabbas/RustOneTimeSecret The only other exposure I had to the language was attempting some Leetcode problems. I really like Rust so far. The type system is extremely powerful, the compiler gives robust error messages, and it has so many awesome features like pattern matching and destructuring.
- andrewstuart 4y agoYou are smarter than me.
- likeabbas 4y agoDoubtful. I may have wanted to like Rust more than you when giving it a shot. I've written a lot of Java and Go but I never enjoyed writing in those languages. I found functional programming languages in college to be very fun, and Rust is giving me that same feeling.
- mathewvp 4y ago> If you don't mind, what where the things that were hard to deal with? The language syntax itself. Looks like the language developers wanted rust to stand out and purposefully went out of way to make it extremely difficult to learn. This is one area where Go shines, you can learn the syntax in half a day.
- moloch-hai 4y agoRust syntax shoulders a load of semantics most languages don't bother trying to represent. They could have made it more wordy, instead, but chose the much shorter symbols, many of which can often be ignored when skimming, more easily than keywords would have been. They have not loaded up the language with any unnecessary syntax. Go lacks the syntax because it is unable to express the semantics, and is (deliberately) a much less capable language for that. Rust is meant for professionals, so must be able to express whatever they may need to say, where Go was meant to keep junior coders out of trouble.
- andrewstuart 4y ago>> They have not loaded up the language with any unnecessary syntax. Rust is composed of at least six sub languages.
- estebank 4y agoWhat syntax would you remove?
- mathewvp 4y ago> Rust is meant for professionals, ..., where Go was meant to keep junior coders out of trouble. So we the not so elite coders will stick with Go, thanks.