I don't have a favourite 'just an integer' type in Rust. I was writing a progress function for a Rust program that counts up to 20 input files.
u64 is sometimes fiddly, usize makes me think about indexing, and u32/u16/u8 make me think that something is performance sensitive.
miniblog.
Related Posts
When I moved back to the UK, I ordered SIMs for both myself and my wife. We ended up with consecutive numbers!
It's really convenient sometimes.
I'm never sure what to name my remotes in git. I tend to use 'mine' so I can add other forks later, but sometimes I use 'gh' or the traditional 'origin'.
What do others use?
For hobby projects, I really like software where I can do small features or tweaks. Sometimes I don't have time for anything more substantial.
Website projects are great for this. Are there other areas?