On Nov 7, 1:17 pm, "Edward K. Ream" <[email protected]> wrote:

> In short, there remains a nagging doubt about whether or not it is
> wise to skip the init of settings to defaults in leoSettings.leo
> during unit testing.  For now, I'm willing to "save" the 0.35 sec on
> each Alt-4., with the understanding that it might cost me quite a bit
> more than 0.35 sec later...

Perhaps the consideration that will tip the balance is "explicit is
better than implicit".  The time it takes to "jam" the required
settings in the unit test code will pay off, because the unit test
becomes independent of leoSettings.leo.  Thus the "cost" of specifying
all needed settings is justified.

For the moment, I am convinced by this argument.  Any comments?

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to