News for hackers. Stuff that matters.
Re:Python’s tug of war between beginner-friendly and advance... by sideshowb on Wednesday February 10, 2021 @08:31AM (#26088761)
Coincidentally well timed - the new PEP on pattern matching would be great to include in the limited subset for teaching:

https://www.python.org/dev/peps/pep-0636/

The above tutorial is based on user input but to my mind this mechanism seems equally good for teaching recursion on data structures as you would in say, ML.

There are no comments on this comment yet.