Python Mixed Metaphors

python logo

Python violates "The Principle of Least Astonishment" when using a mutable default value as a function parameter. Yeah, it's a bold statement. But hear me out and then decide for yourself.

Read Python Mixed Metaphors.


Previous: HOWTO: Develop a Prototyping Mindset