|
|
|
|
|
by YorkshireSeason
2660 days ago
|
|
OK, I also don't like Scala's inability to deconstruct in the parameter list. I come from an ML background where that is possible. But I found it less bothersome in practise than I had originally anticipated. Erlang has pattern matching on bits [1] which is convenient, that would be nice to have, especially when writing networking software. [1] P. Gustafsson, K. Sagonas, Efficient manipulation of binary data using pattern matching. |
|
I was pleased to discover Python’s tuple pattern matching in function heads, only to be disappointed that it was removed in Python 3.