Re: php professional

From: "Ted Byers" <r(dot)ted(dot)byers(at)rogers(dot)com>
To: "Mark Walker" <furface(at)omnicode(dot)com>, "Randal L(dot) Schwartz" <merlyn(at)stonehenge(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: php professional
Date: 2007-02-22 23:03:06
Message-ID: 08c001c756d5$9e10ea80$6401a8c0@RnDworkstation
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> Mark> Similar issues with Mysql. It's faster,
>
> But it doesn't matter *how* fast you get the *wrong* answer. :)
>
I thought one of the first rules of software engineering was "First make it
right and only then make it fast!"

Granted, most of my experience has more to do with number crunching and
scientific computing, but for the past 27 years, I always first ensured the
code was provably correct before worrying about optimization. And this
always involved a test suite that applied every possible mathematical test
with randomly generated test data. For example, my code for matrix algebra
problems generally came with test code and driver that would exercise the
code with tens of millions of random matrices and vectors. One failure,
even in millions of test cases, means the code is somehow broken. I have
seen, and fixed, such cases before. One of my problems with database
development is how to construct analogously strong test cases in order to
prove the code correct. And it seems to get harder as the database gets
larger. :-( In other words, I know how to do this with algebra and
calculus, and C++/Java/FORTRAN programming, but not with sets and SQL
programming.

Cheers,

Ted

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2007-02-22 23:14:11 Re: postgresql vs mysql
Previous Message Jim Nasby 2007-02-22 22:57:54 Re: Priorities for users or queries?