Sonny Bonds on Nostr: I've spent a couple of days with Rust and so far I mostly like it. Still on pretty ...
I've spent a couple of days with Rust and so far I mostly like it. Still on pretty basic stuff but I'm past the first stage of not having a clue so I can write actual code without looking every single piece of syntax up.
I really like the "last statement of a block is its value" thing and how it interacts with control flow, but it looks naked and weird as the return value of functions. It'll probably grow on me.
I wish "Some" had a better name, but I don't know what it would be.
#rustlang
I really like the "last statement of a block is its value" thing and how it interacts with control flow, but it looks naked and weird as the return value of functions. It'll probably grow on me.
I wish "Some" had a better name, but I don't know what it would be.
#rustlang