this post was submitted on 26 Oct 2023
31 points (87.8% liked)

Rust Programming

8190 readers
18 users here now

founded 5 years ago
MODERATORS
all 18 comments
sorted by: hot top controversial new old
[–] onlinepersona 11 points 1 year ago

The thing I repeat most often is: at least it's not C++. Rust is the best systems programming language I've found. There's no language that's perfect for every usecase and ideally, I'd love to learn Haskell for prototyping, but it's more academic than practical.

[–] [email protected] 6 points 1 year ago (1 children)

@KaczuH wow interesting take! My personal experience is that I LOVE refactoring rust code! Basically just change what you need to change and follow the to-do list returned by the compiler, knowing nothing will probably be forgotten. It's such a powerful thing that I now dread any big refactoring in other codebases, even Typescript.

[–] [email protected] 1 points 1 year ago

@KaczuH to be clear that probably the only point over which I think otherwise than the article. It's definitely a slower coding and iteration experience, that's the tradeoff of the robustness and correctness.

[–] [email protected] 3 points 1 year ago (1 children)

The Rust standard library is enormous.

Lol wat, no, it most certainly is not

[–] [email protected] 1 points 1 year ago

I know what they mean. It may not be enormous, functionality-wise, but just the Iterator trait alone feels enormous when you're trying to figure out which method does what you want.

I think it's indicative of a need for more work put into making the UI teach people how to search by function signature.