this post was submitted on 01 Jan 2025
33 points (100.0% liked)
Rust Programming
211 readers
1 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
every once in a while i get it in my head to follow some web tutorial for a rust thing but then i grow weary knowing that syntax and structure will have changed dramatically in the month or two since the guide was made
This is true of so many ecosystems. In the past year, I think I've had to rewrite an ESLint config twice, transition a Prettier config to another format, update React in a project and a good half of the other dependencies through some breaking changes, etc.
It's not really unique to Rust, and happens for projects that are well past v1 (in React's case, v19 - and they still haven't figured out suspense, not that I'd want to rush them).
Still, I'd love for things to remain consistent over time. The breaking changes in this version of axum are pretty easy to update to though, and you might even be able to just regex replace these in all your files since it's just a matter of using braces now instead.
The JS ecosystem is in another league entirely. I don't understand how it's possible to develop in that world without losing all hope of writing good software. To be fair, many frontend devs seem somewhat resigned in that regard.