←back to thread

451 points birdculture | 2 comments | | HN request time: 1.279s | source
Show context
cadamsdotcom ◴[] No.43979523[source]
Rust is wonderful but humbling!

It has a built in coach: the borrow checker!

Borrow checker wouldn't get off my damn case - errors after errors - so I gave in. I allowed it to teach me - compile error by compile error - the proper way to do a threadsafe shared-memory ringbuffer. I was convinced I knew. I didn't. C and C++ lack ownership semantics so their compilers can't coach you.

Everyone should learn Rust. You never know what you'll discover about yourself.

replies(5): >>43979578 #>>43979674 #>>43980750 #>>43982334 #>>43996710 #
namuol ◴[] No.43980750[source]
> Everyone should learn Rust.

I know this feels like a positive vibe post and I don’t want to yuck anyone’s yum, but speaking for myself when someone tells me “everyone should” do anything, alarm bells sound off in my mind, especially when it comes to programming languages.

replies(1): >>43985462 #
1. vacuity ◴[] No.43985462[source]
I think everyone should learn many different programming languages, because being exposed to different paradigms helps develop programming skill.
replies(1): >>43985771 #
2. namuol ◴[] No.43985771[source]
Yeah I agree, I enjoy the process. I don’t think that’s what’s behind “everyone should learn rust” in this case, and many cases. It feels like a “cause”.