News for hackers. Stuff that matters.
Re:The Logical Disaster of Null by RX14 on Monday May 21, 2018 @06:34PM (#17122411)
Yeah, crystal has one of those (and it's about to gain exhaustiveness checking), so I didn't literally always mean `if/else` :)
Re:The Logical Disaster of Null by lmm on Tuesday May 29, 2018 @09:35AM (#17178995)
If you can switch on the type of a variable and have it have the relevant type within each switch arm I'd consider that to be pattern matching, though I guess that's just semantics.