Re:Python: Common Newbie Mistakes, Part 1
by Tloewald on Saturday July 06, 2013 @09:35PM
(#6000705)
The accepted explanation seems wrong to me. Whether or not functions are first class objects or not, the behavior of def is a matter of design choice and in this case the wrong choice has been made. All the rationales are broken -- they're uncommon use cases and perfectly easy to implement without the behavior, i like Python but this is a wart.
[ Parent
| on HN ]
There are no comments on this comment yet.