this post was submitted on 25 Sep 2023
93 points (97.0% liked)

Programming

16971 readers
147 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

cross-posted from: https://sh.itjust.works/post/5850736

This is the resource I've been looking for. I'm working my way through the book but it gets in the weeds really early. It's all fun and games and then chapter 4 just hits like a brick wall. Amos does a tremendous job explaining the why behind things, in a more wheels to the pavement way.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 11 months ago

I've been mostly working in C# for the past few years (and most of my life), and the only C++ experience I have is from college, so it's getting some using to. And that's what I was getting at - thanks to college, where I was forced to really learn (or at least, understand and be able to use) a wide range of drastically different languages, from Lisp through Bash, Pharo, Prolog, to Java and C#, that when I have to write something in a language I don't know, it's usually similar to at least one of them and I always could figure it out intuitively.

With Rust, even though it has an amazing compiler, I'm struggling - probably because of the borrowing and overly careful error handling being concepts I've never had to deal with to get a MVP code working. Sure, that probably means that the code wasn't error-proof, which is exactly what Rust forces you to do and which is amazing, but it makes it a lot harder to just write a single script without prior knowledge when you have to.

I hope they are teaching Rust at universities now, we definitely didn't have it 8 years ago, which is a shame.