Hacker News new | ask | show | jobs
by SoftTalker 283 days ago
I like just writing functions for each valid combination of flags and parameters. Anything that isn’t handled is default rejected. Languages like Erlang with pattern matching and guards make this a breeze.