Hi,

2008/9/7 Glynn Clements <[EMAIL PROTECTED]>:
> In which case, it's probably time to start thinking about refactoring
> the code.
>
> E.g. class BufferedWindow in mapdisp.py is ~2500 lines. That includes
> some massive "case" (i.e. if/elif/...) statements in OnLeftUp and
> OnRightUp which should probably be replaced with e.g.
> self.currentTool.OnLeftUp() etc, with a separate class for each tool.

definitely true for trunk. Probably develbranch_6 we can leave as it
is now, or to backport relevant changes from trunk, but before that we
need releasebranch_64.

[...]

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to