--- On Sun, 12/19/10, Øyvind Harboe <oyvind.har...@zylin.com> wrote:

> So you don't think there is a disadvantage to
 using variables
> to pass information around?

I never said that.  Are you saying that one
goal is reducing usage of globals?  That's
generally a good thing ... but since you had
stipulated that the single function would have
no arguments, I don't see how it'd lead to a
reduction in variables-for-passing-info.  (like
per-board options a target or adapter must know.



 The handling of defaults isn't
> ugly?

I already said that I think the if/then/else
mess per-value is worth cleaning up...


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to