[GRASS-dev] suggested temporary feature freeze for wxGUI

Martin Landa landa.martin at gmail.com
Sun Sep 7 17:55:33 EDT 2008


Hi,

2008/9/7 Glynn Clements <glynn at gclements.plus.com>:
> 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 *


More information about the grass-dev mailing list