[Ns-developers] Different Approaches to Default Values (wasRe:Default Values)
craigdo@ee.washington.edu
craigdo at ee.washington.edu
Tue Jan 22 12:33:01 PST 2008
[ ... ]
> > I suppose it couldn't hurt to have two different kinds of
> tools available
> > here, although one of the big complaints I hear about
> Windows interfaces
> > is
> > there are many ways to do pretty much anything in the
> system and that can
> > get confusing and irritating.
>
> Straight from The Zen of Python [1]:
>
> There should be one-- and preferably only one --obvious way to do it.
> [1] http://www.python.org/dev/peps/pep-0020/
Thanks, Gustavo, for reminding me of this. It has a lot of very succinct
versions of the messages I've been trying to convey in a long-winded
pedantic fashion for quite a while (therefore I like it very much :-)
Craig's Zen of ns-3 (with apologies to Peters):
Beautiful is better than ugly;
Explicit is better than implicit;
Simple is better than complex;
Complex is better than complicated;
Readability counts;
Understandability counts;
If the implementation is hard to explain, it's a bad idea;
There should be one -- and preferably only one -- obvious way to do it.
Ommmmmmmmm.
-- Craig
P.S.
I was tempted to include the paraphrase, "although that way may not be
obvious at first unless you're French"; but I wasn't sure Mathieu would take
it as the compliment it was intended to be :-)
More information about the Ns-developers
mailing list