Re: OK, it's the matter of database structure rather
- From: Alan Anderson <aranders@xxxxxxxxxxxxx>
- Date: Mon, 17 Sep 2007 17:14:50 -0400
John Kelly <jak@xxxxxxxxxxxx> wrote:
If I run 14 gauge wire to the electrical outlets of my house, instead
of 0 gauge, because I never imagine carrying a load of 100 amps to my
computer, that's a reasonable choice to make, due to the extra cost of
installing heavier wire. Admittedly, cost is something engineers have
to factor in.
But in programming, things are different.
I don't think it is as different as you propose. Cost of development is
real. Cost of deployment is real. Cost of execution is real.
There is no "real" cost of building a stronger algorithm which can
handle any possible, albeit unlikely, load of data, aside from the
extra mental effort required to think things all the way through.
Heh, I wrote my previous few sentences before noticing the word "real"
in your post. But I invite you to consider that including a "real"
database that can handle "any possible load" of data can be a whole lot
more costly than simply using a Tcl array in the fashion of "A simple
database" as set out on the http://wiki.tcl.tk/1598 page.
As for "extra mental effort" -- development time is a highly relevant
measure of software cost, and testing time is even more important.
Complexity comes with a cost.
That may not be how "engineers" are trained, but programmers should
be, because you never know what rocks a user may decide to throw at
your fragile little program.
Are you seriously suggesting that nobody should ever use anything but
the most powerful database engine available? That's what it sounds like.
Anything less, is just a lazy programmer's excuse.
1) Often, the programmer has complete knowledge of what kind of things
will need to be stored, and can thus make appropriate tradeoffs between
simplicity and capability.
2) You can certainly assume a largest reasonable rock even if you aren't
in control of them.
3) "Lazy programming" can actually be a valid methodology, often phrased
in the form "Do the simplest thing that can possibly work."
.
- Follow-Ups:
- Re: OK, it's the matter of database structure rather
- From: John Kelly
- Re: OK, it's the matter of database structure rather
- References:
- Re: Still no records
- From: Donal K. Fellows
- Re: Still no records
- From: ZB
- OK, it's the matter of database structure rather
- From: ZB
- Re: OK, it's the matter of database structure rather
- From: Donal K. Fellows
- Re: OK, it's the matter of database structure rather
- From: ZB
- Re: OK, it's the matter of database structure rather
- From: Cesar Rabak
- Re: OK, it's the matter of database structure rather
- From: ZB
- Re: OK, it's the matter of database structure rather
- From: Cesar Rabak
- Re: OK, it's the matter of database structure rather
- From: ZB
- Re: OK, it's the matter of database structure rather
- From: Cesar Rabak
- Re: OK, it's the matter of database structure rather
- From: John Kelly
- Re: Still no records
- Prev by Date: Re: tk bind tags
- Next by Date: Re: Color choosing function - does one exist
- Previous by thread: Re: OK, it's the matter of database structure rather
- Next by thread: Re: OK, it's the matter of database structure rather
- Index(es):
Relevant Pages
|