What is a function parameter =[] for?

Chris Angelico rosuav at gmail.com
Thu Nov 19 12:30:26 EST 2015


On Fri, Nov 20, 2015 at 3:01 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> You know, for somebody who claims to design and implement your own
> languages, you sometimes go to a remarkable effort to claim to be a dummy.
> You write your own interpreter, but can't understand early versus late
> binding? I don't think so.

I'm not sure that's such a fair comparison. Anyone can design a
brand-new language, and even implementing one isn't all that hard. If
you don't understand other languages, you can certainly create the one
that always does what you think most intuitive, right at the instant
when you designed/implemented some feature. What's hard is designing a
clean language that does what _someone else_ expects. (And that
includes yourself in six months.)

ChrisA



More information about the Python-list mailing list