On Wednesday 30 May 2007 09:08, Heikki Johannes Junes wrote:
> I cannot not answer to your question, but rather I would like to
> raise a general challenge to improve the code of the notation engine.
> Most of the notation code may be ok, but the the code is not
> everywhere very transparent. Therefore, there may be a need of
> reconstructing the notation code in a more transparent packets. Only
> good looking code can be easily maintained.

I think we would love to see patches to that effect.

There are several refactoring approaches that could make the code much 
more readable.  As a simple example, many of the functions that execute 
commands of one sort or another do so by using common bits of code that 
could be incorporated into the command logic (there should really be no 
need for each command to have its own specific corresponding method in 
NotationView).


Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to