menu-spec: Making menu-editing work, cleaning up <Move> semantics

Heinrich Wendel h_wendel at cojobo.net
Fri Apr 22 20:26:19 EEST 2005


On Thursday 31 March 2005 12:28, Waldo Bastian wrote:
> A typical recursion looks like:
>
> process_node()
> {
>    do_breadth_first_stuff();
>    for each child node
>       process_node();
>    do_depth_first_stuff();
> }
>
> So if you are lucky you can just move a few lines of code around, and if
> you are unlucky you will have to do a bit of copying and pasting and do the
> recursion twice.

What about a test-case ;)

> Cheers,
> Waldo
mfg, heinrich



More information about the xdg mailing list