An interesting consequence of Scala 3's context functions is that since the parameter's name isn't chosen at the call site (it's implicit), it's often accessed using a helper method, and that method will have a consistent canonical name across codebases. That helps readability.
-
-
Good point. The same principle holds for anonymous using clauses + global helper function. Highly recommended!
-
In fact, that's exactly how I've been writing tests for the last couple of weeks!pic.twitter.com/GZhr1DVvav
End of conversation
New conversation -
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.