I think a lot of "Intermediate Rust" is centered around constructing ergonomic APIs. I think Rust's progression is somewhat like this: - Entry level: learn how to do things. - Intermediate: learn how to do things cleanly. - Seasoned: expand the boundaries of what can be done.
-
Show this thread
-
Right now I'm definitely in the intermediate phase. I'm feeling the biggest learning point for me right now is figuring out which traits exist, and when / how I should use them. Rust's stdlib makes lots of use traits, and I'm def trying to get my code quality to be on par w/ it
1 reply 0 retweets 7 likesShow this thread -
Replying to @yoshuawuyts
I feel like what's good design in std is not necessarily ergonomic design everywhere. A lot of std's traits end up in the prelude, and I don't know if I think that having a lot of traits users have to import is great (even if there is a prelude-like module for your lib).
1 reply 0 retweets 1 like
Yeah, that's fair! If guess the fewer traits we define in userland, the simpler we can keep our APIs :D
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.