3 ms·
Hence why I clarified the point on the learning curve that I, and I expect the author of that line, is interested in.
by gpm 8y ago
Hence why I clarified the point on the learning curve that I, and I expect the author of that line, is interested in.
- atoav 8y agoI think it is quite easy to do simple things like opening and closing files reading writing. String manipulation and working with vectors can be similar to python at times.. The ownership concept is a bit harder to grasp, it took me maybe a day to get the initial understanding and a year to really feel comfortable in all situations. The thing is, now that I understand it it is not only very powerful, but it allows you to think about your code differently: because of the strict ownership rules you tend to be aware at all times of the impact of the code you are looking at in any given moment. Combine this with the strong type system and you really feel in control. When I moved from python to Rust I probably wouldn’t recommend Rust to beginners. In hindsight I am not so sure about that anymore. It is hard, but it is teaching some concepts every programmer in any language could use and it is incredibly consistent.You rarely find any weird edge cases that are the way the are because of some arbitrary decision. Most language design decisions have been extremely careful considered and you can feel that. This is contrary to many traditional beginner languages, whkch are often filled to the brim with weird edge cases. The cargo environment is incredible.I wish I had something like this for python
- gpm 8y ago> [teaching rust to beginners] I feel similarly, I'm not sure it would be success, but I think it would have a good chance. I'm very tempted to try and design a "learn programming via rust" course and then find some guinea pigs (err ... students) to see how it works. If I had infinite free time I definitely would.
- atoav 8y agoI learned programming mostly with processing (https://processing.org/ https://processing.org/) For beginners the huge benefits would be: - instant visual feedback: Loops make much more sense when you can see them - easy to get running (I’d argue rust is the same) - Limited enough to learn basic concepts and not get overwelmed The hardes thing about teaching any traditional language is probably explaining why it is mostly a command line/terminal thing without huge efforts.