Brython - Python in the browser

Stefan Behnel stefan_ml at behnel.de
Fri Dec 21 11:52:22 EST 2012


Pierre Quentel, 21.12.2012 17:16:
> So when you see a line like
> 
> doc <= DIV('hello')
> 
> it should be obvious that you are not *comparing* doc and DIV('hello'), because if it was the case, the line would do nothing

Yep, that's one of the main concerns - it looks like useless code, which is
totally different from what it does. So it basically uses magic
side-effects as part of the design, which is never a good thing.

Stefan





More information about the Python-list mailing list