In case you find yourself trying to match a String (perhaps as part of an Option or Result), here's a little trick.
As a concrete example, let's say you're working with commandline args and want to do different things if it's there and equal to a special value (like "-"), if it's…
Read more...
I got a lot of great feedback on my previous post "Rust and the Blub Paradox", which inspired me to write a follow-up.
In its original formulation, the Blub Paradox is something of a tool for people to feel smug about their favorite language. I heard a lot of feedback that it fee…
Read more...
A few weeks ago, I read an analysis of Rust, D, and Go by Andrei Alexandrescu. Andrei, a respected member of the C++ community and a core developer of the D programming language, took a stab at Rust at the end of his writeup with what seems like a pretty astute observation:
"Read…
Read more...
When I left Seattle, I jokingly told my friend "the first country I'm travelling to is Hawaii".
"But it is isn't a different country," she replied.
It is. Oh it is.
Looking at Maui from the Kula Lodge
Having travelled around the United States, I can't say there are many places …
Read more...
HandmadeCon 2015, where even the welcome banner is handmade
Today, I attended HandmadeCon 2015. HandmadeCon is the first convention for the Handmade Hero project by Casey Muratori, a game industry gun-for-hire who most recently worked on The Witness, the follow-up game for Sophi…
Read more...