Everybody's so Creative! (about library abstraction design)

a year ago by cm0002 to c/rust

After 4 years with Rust, I love the language – but I’m starting to think the ecosystem has an abstraction addiction. Or: why every Rust crate feels like a research paper on abstraction.
Deebster 8 points a year ago

I find that even without abstractions, code can be fairly unreadable if it goes in strong on Uncle Bob's Clean Code ideas and you're bouncing up and down the code/stack frames trying to see where the work actually happens.

path: 0 20144452, hotness: undefined, score: 8, children: 0
quelsh 6 points a year ago

Or, borrowed from another "proverb": Pre-mature abstraction is the root of all evil

path: 0 20148879, hotness: undefined, score: 6, children: 0
Kissaki 1 point a year ago

I created a Nushell plugin in Rust that merely converts between Nushell and BSON data formats.

It works, but I still have a fundamental lack of understanding of the magic abstract generalized data transformation framework/interface.

I wish there were fewer magic conversions and transformations, and less required knowledge of them and calling or knowing the correct ones. Magic traits leading to magic conversions for magic reasons. Or something.

path: 0 20157108, hotness: undefined, score: 1, children: 0
rust
rust

@programming.dev

login for more options
8329
1423
339

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

go to feed...