pull down to refresh
5 sats \ 1 reply \ @k00b 7h \ on: Pythons biggest (annoying) flaw: default method params devs
Why did they do this? I assume it's useful in some respect or maybe it's just easier for the interpreter.
I can't tell you for sure why this decision was made but this concept is only strange to us coming from modern programming languages that have a strong separation between what is code and what is data .
An example of this is e.g. the let-over-lamda paradigm where you can change what a function does by calling it.
reply