News for hackers. Stuff that matters.
Re:Python 3.4.0 released by ubertaco on Monday March 17, 2014 @09:22AM (#7414841)
Nice! That's something I like about Haskell and Elixir: the ability to define behavior for a given case. Though it looks like that's constrained to type-based dispatch (a la Java method overloading). Is there any way to define for specific values?
Re:Python 3.4.0 released by hyperpape on Monday March 17, 2014 @10:09AM (#7415048)
If I read this article properly, there's nothing yet standardized, but there's a possibility of future development: http://lukasz.langa.pl/8/single-dispatch-generic-functions/.