Re:Pattern matching accepted for Python
by jnxx on Wednesday February 10, 2021 @05:49AM
(#26087633)
Reading the discussion, I think the criticism is more motivated by the subtle but crucial differences to most functional programming languages.
[ Parent
| on HN ]
Re:Pattern matching accepted for Python
by frou_dh on Wednesday February 10, 2021 @06:15AM
(#26087800)
I was thinking more about the common criticism that something like `case Point2d(x, y):` "looks like an instantiation" and hence an equality check.
I actually replied to the wrong comment after reading several that visually looked similar at the time, so apologise for causing confusion in this subthread.