If you like this advice, you're a statement-oriented programmer, comfortable with reasoning about sequential statements. If you hate this advice, you're a value-oriented programmer, comfortable with reasoning about equational definitions. Which type of programmer are you?https://twitter.com/relizarov/status/1252872811028209664 …
-
Show this thread
-
Replying to @jdegoes
I am too lazy to think through these, and I also hate nesting.. so I just pattern match on both. This is quite human friendly: (a, b) match case True, _ => fast1 case _, False => fast2 case other => usual
2 replies 0 retweets 24 likes
That's where the `nest` macro really shines, naturally putting the regular case at the same indentation as the half-zillion sanity checks that precedes it.https://fare.livejournal.com/189741.html
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!