end of print = lower productivity ?

George Sakkis george.sakkis at gmail.com
Tue Nov 25 17:39:58 EST 2008


On Nov 25, 5:03 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> cptnwill... at gmail.com writes:
> > > BUT you now can do
> > > >>> p = print
> > > >>> p("f")
> > All right. Let's talk about that.
>
> > When I write "print", it is both effortless and instantaneous : my
> > hands do not move, a wave goes through my fingers, it all happens in a
> > tenth of a second.
>
> > Contrast this with what one has to go through to catch the SHIFT key ...
>
> You could say:
>
>     class Printer:
>         def __isub__(self, x): print(x)
>     p = Printer()
>
> Then
>
>     p-= "foo"
>
> doesn't need use of the shift key.  Use of -= instead of - gets rid
> of operator precedence issues.

Please don't forget the smileyes when you make such ludicrous
suggestions; if anyone takes them seriously you could be cursed to
maintain his code ;-)



More information about the Python-list mailing list