Show newer

"Elegant Library APIs in "
Now this is an interesting guide!
(I learned about the `impl Into<Option<T>>` which looks very useful!)

Ung. I love in many ways, but the String/&str thing often wrecks my head. Why is there &str *and* &String? Making functions they can take either type is annoying. (currently trying to wrap my head around Borrow vs AsRef).

OMG, I just discovered if you put this in your Cargo.toml (in a proj) then dev mode will run as fast a release mode!

opt-level = 3

Must resist siren song of writing my own library for validation. Though there is only one library for schema validation..... Why not 2?

Show thread

I quite like programming in . I think I'm getting the hang of it, and the more I write it, the more confident I get.

I'm gonna have to figure out how to compile this programme into a binary for on my machine... ๐Ÿค”๐Ÿค”๐Ÿค”

Show thread
โ›ง MOYTURA โ›ง

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!