Earlier quoted context omitted.
On the other side where this question is not asked we have things like > "1" + 2 3 And it's utter madness that everyone does anything important with languages like that.
Python 3.11.12 (main, Apr 8 2025, 14:15:29) [Clang 16.0.0 (clang-1600.0.26.6)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> "1" + 2 Traceback (most recent call last): File " ", line 1, in TypeError: can only concatenate str (not "int") to str
Flattening Rust’s learning curve
401–405 of 405 posts
Re: Flattening Rust’s learning curve
#402It's like reading "A Discipline of Programming", by Dijkstra. That morality play approach was needed back then, because nobody knew how to think about this stuff. Most explanations of ownership in Rust are far too wordy. See [1]. The core concepts are mostly there, but hidden under all the examples. - Each data object in Rust has exactly one owner. - Ownership can be transferred in ways that preserve the one-owner ru…
With the exception of the last point (which I can't imagine tacking on in C++)
Maybe I'm missing some subtle point?
Re: Flattening Rust’s learning curve
#403It's like reading "A Discipline of Programming", by Dijkstra. That morality play approach was needed back then, because nobody knew how to think about this stuff. Most explanations of ownership in Rust are far too wordy. See [1]. The core concepts are mostly there, but hidden under all the examples. - Each data object in Rust has exactly one owner. - Ownership can be transferred in ways that preserve the one-owner ru…
I don't do Rust, but I feel there must be more to it that's missing in your description b/c what you wrote sounds exactly like a C++ smart pointer? With the exception of the last point (which I can't imagine tacking on in C++) Maybe I'm missing some subtle point?
Re: Flattening Rust’s learning curve
#404Earlier quoted context omitted.
Academic circles? That's how it is just used in general. You're the anomaly.
To clarify, you believe the common use of “steep learning curve” means easy to learn?
This is described in this wiki article that was linked in another comment.
https://en.wikipedia.org/wiki/Learning_curve
Which also points out how people rarely use the term properly, and call something difficult to learn a "steep" learning curve. It's the opposite.
Re: Flattening Rust’s learning curve
#405It's like reading "A Discipline of Programming", by Dijkstra. That morality play approach was needed back then, because nobody knew how to think about this stuff. Most explanations of ownership in Rust are far too wordy. See [1]. The core concepts are mostly there, but hidden under all the examples. - Each data object in Rust has exactly one owner. - Ownership can be transferred in ways that preserve the one-owner ru…
I usually teach it by translating it to our physical world by way of an object like a book, which I like to think is intuitive. I have a book. I own it. I can read it, and write into the margin. Tear the pages off if I want. I can destroy it when I am done with it. It is mine. I can lend this book in read only to you and many others at the same time. No modifications possible. Nobody can write to it, not even me. But…
This exists, but it's uncommon: https://en.wikipedia.org/wiki/Dual-ported_RAM , https://en.wikipedia.org/wiki/Dual-ported_video_RAM