3 ms·
I'm generally a fan of encoding invariants in the type system, but there's a balance to be had between that and the library becoming relatively unusable. I have
by sunshowers 3y ago
I'm generally a fan of encoding invariants in the type system, but there's a balance to be had between that and the library becoming relatively unusable. I haven't used embedded Rust very much, but my general impression from afar, and from talking to people who are experts in the domain, is that the ecosystem leans far too much into the type system.
- larusso 3y agoI agree. But the point still is that the post wants to make it look like: this is how rust looks like. Look it is as bad as enterprise Java.
- sunshowers 3y agoI think from the lens the author is looking at, this is undeniably true. It isn't the complete picture but the folks working on embedded Rust should take it to heart.