Re:What it feels like when Rust saves your bacon
by scoutt on Friday June 24, 2022 @11:00AM
(#31863183)
> big hurdle
Without going much further, to me it's the syntax. I can write some Rust lines of code, and I appreciate the compiler output to correct my syntax. But it's really difficult to me to read code written by others. I can't open a random file of a Rust project and have a minimal clue of what's going on
After years of C and some C++, I have a parser implanted in my cerebellum, and it's hard to adapt it to Rust. To me, reading Rust feels like forcing an optical nerve to see something very small.
Case in point, the code in this article.
Re:What it feels like when Rust saves your bacon
by bilkow on Friday June 24, 2022 @01:57PM
(#31866658)
Oh yeah, I feel your pain, my brain is really used to Rust/Swift and Python syntax, and when I have to read Typescript/React, C++ or something like Nix, it gets hard for my brain to parse it. Loved the eyesight analogy!
Once they realize that the tooling is actually working _with_ them, not _against_ them, they start to pick things up much quicker.