Hacker News new | past | comments | ask | show | jobs | submit login

(Hacker News doesn't support markdown; indent any line two spaces to make it render as code)

I would probably write that with a match, personally. I didn't say match was useless, just that if and if let pull their weight as features, in my opinion, even though you could express them as a match if you really wanted to.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: