Rust's model of references confused me when I started out. I'd read that they were faster, so I tried to use them everywhere. You can't return a reference to a new vector though!
Now I see them as primarily useful for signalling 'this parameter is not modified' rather than perf.
miniblog.
Related Posts
I find it fascinating how some businesses have scheduled downtime for their websites (e.g. my electricity provider last weekend), but others don't.
I suspect it's primarily culture. You generally need to turn off electricity to do work, so your other tooling may reflect that.
I'm hesitant to write "written in $LANG" on my project READMEs. I'd rather get users excited about the features than the implementation.
Maybe it makes sense if you're primarily seeking contributors?
I definitely feel more productive with a larger monitor compared with just a laptop, and I know there have been studies on this.
I wonder if it's primarily the window switching overhead? E.g. would a tiling WM with lots of virtual desktops perform better?