Steven D'Aprano wrote: [...] > In any case, functional languages like Haskell, F# and ML are not the > only languages with pattern matching. Non-FP languages like C#, Swift, > Rust and Scala have it, and even Java has an extension providing pattern > matching: > http://tom.loria.fr/wiki/index.php/Main_Page
I'm not against pattern matching at all. I think it's a very nice feature, but that one of its behavior which is variable capturing should be made more explicit, following the rules of the Zen of Python. > It's been sometimes said that functional programmers are smarter, elite > programmers a level above the average OOP or procedural programmer, but > that's mostly said by functional programmers :-) I would say there are fewer of them :-) -- Emmanuel _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/RMUF5Q6B3UKPK67FB5ALQYILPZE2JJGZ/ Code of Conduct: http://python.org/psf/codeofconduct/