Python is readable

Chris Angelico rosuav at gmail.com
Wed Mar 21 04:15:22 EDT 2012


On Wed, Mar 21, 2012 at 6:57 PM, Steve Howell <showell30 at yahoo.com> wrote:
>  verb first: English-imperative ("boil water", "add noodles/salt",
> "serve in dish") or math-functional, e.g. sum(a,b,c)
>  verb middle: infix, arithmetic-like ("5 plus 4", "10 divided by 2")
> or English-descriptive ("Dog bites man")

In English, verb-first imperative is just verb-middle descriptive with
an implied "You" as the subject. Its nearest equivalent in code, then,
is the common idiom of omitting the 'this' argument (eg in C++), which
Python doesn't support.

ChrisA



More information about the Python-list mailing list