On Sat, Jun 14, 2008 at 9:53 PM, Cesare Di Mauro <[EMAIL PROTECTED]> wrote:
> Just take a look at the example I reported: don't you find it easier to read?

Sure, it's perhaps a bit easier on the eyes, but readability includes
understanding what's the code does.

Let's take an example:

>on Tkinter:
>   on ScrolledText.ScrolledText(master, width=60, height=37):
>     insert(END, self.log.getText())
>     configure(state=DISABLED)
>     see(END)
>     pack(fill=BOTH)

Is END an attribute of ScrolledText? Tkinter? Neither? Both? Who
knows. If we allow assignments it's even more painful. Throwing random
junk into the current scope isn't my idea of fun.

Schiavo
Simon
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to