Re:Pattern matching accepted for Python
by visarga on Tuesday February 09, 2021 @11:12PM
(#26085667)
Not a powerful argument because in 90 years it's still not mainstream and only exists in papers and blog posts. On the other hand pattern matching is widely used. 'Simple' can be 'complicated' in another way, otherwise we'd prefer to write machine code.
[ Parent
| on HN ]
Re:Pattern matching accepted for Python
by chriswarbo on Wednesday February 10, 2021 @04:45AM
(#26087257)
> Not a powerful argument because in 90 years it's still not mainstream and only exists in papers and blog posts
https://docs.python.org/3/reference/expressions.html#lambda
https://262.ecma-international.org/11.0/#sec-arrow-function-...
https://docs.oracle.com/javase/specs/jls/se15/html/jls-15.ht...