[Python-Dev] YAGNI

Aahz aahz@pythoncraft.com
Fri, 22 Mar 2002 12:56:40 -0500


On Fri, Mar 22, 2002, Guido van Rossum wrote:
> 
> Why isn't that YAGNI?  To me it feels like this is YAGNI for most
> users; we're designing a library module here, not a Zope component.
> 
> I'd be happy to find a different principle with a catchy name (maybe
> the 80% principle or KISS are better) but I still think your use case
> is pretty unusual.

+1 on "80%"

Three reasons:

* "Explicit is better than implicit"

* YAGNI is a falsehood when directed at someone who does need the
feature, even though you're using the plural "you"

* I can never remember what YAGNI stands for; it's not that common, even
here on python-dev
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"We should forget about small efficiencies, about 97% of the time.
Premature optimization is the root of all evil."  --Knuth