[MarkLogic Dev General] RE: PassingauthenticationinformationinaURL

Walter Underwood Walter.Underwood at marklogic.com
Sun Apr 18 20:41:04 PDT 2010


We all want to design general solutions, myself included, but we also think really hard about solving the problem in front of us. YAGNI is a great help in keeping focused.

Guessing the future is really, really hard, even after thirty years in the business. My "general" solutions don't usually fit what what people really want next year. They end up as baggage. Focused solutions make people happy and are easy to understand and extend. Every time.

http://en.wikipedia.org/wiki/You_ain't_gonna_need_it

wunder

On Apr 18, 2010, at 6:45 PM, Lee, David wrote:


The opposite design principal is to try to design things so that you dont have to reemployment similar things over and over again.
I'm sure there are *some things* in ML that are 'general purpose' ... In fact the *entire product* is general purpose, generally :).

-David


From: general-bounces at developer.marklogic.com<mailto:general-bounces at developer.marklogic.com> [mailto:general-bounces at developer.marklogic.com] On Behalf Of Walter Underwood
Sent: Sunday, April 18, 2010 9:34 PM
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] RE: PassingauthenticationinformationinaURL

On Apr 18, 2010, at 6:23 PM, Lee, David wrote:


This is all somewhat pedantic because in this case I don't really need
high security for the images,
just was hoping for a general solution that could be reused 'next time'
when I really want security.

There is a principle in agile programming named "You Ain't Gonna Need It", or YAGNI. It means, only design and implement what you need. Designing general-purpose mechanisms based on guesses about the future makes the current code more complicated.

Usually, implementing exactly what you need makes it easier to implement what you need next time.

wunder
--
Walter Underwood
Lead Engineer
walter.underwood at marklogic.com<mailto:walter.underwood at marklogic.com>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20100418/07643eb7/attachment-0001.html


More information about the General mailing list