Re: Thoughts on "Love Your Database"

From: Chris Travers <chris(dot)travers(at)gmail(dot)com>
To: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
Cc: dandl <david(at)andl(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Thoughts on "Love Your Database"
Date: 2016-05-04 11:13:53
Message-ID: CAKt_Zft4TFWpiX=d2BJVbPEXZPFD-_X2HD0D0SEK8wqP4PU=wA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A few observations

On Wed, May 4, 2016 at 12:31 PM, Geoff Winkless <pgsqladmin(at)geoff(dot)dj> wrote:

> On 4 May 2016 at 06:46, dandl <david(at)andl(dot)org> wrote:
> > I'm a strong believer in putting the business code next to the data, not
> the wrong
> > side of the object-relational divide. However, for many the challenge of
> writing and
> > debugging SQL code is just too high!
>
> Your source for this statement please? "For many" sounds rather like
> weasel-words to me. In my experience, a wide range of people, from
> beginners to experts, find SQL easy to write and debug. I'm afraid
> that the problem seems to me to be that your peg is rather too square.
>
>
I actually agree with dandl on this. Folks can write SQL but often aren't
really comfortable using it as core application logic.

I.e. one often sees code that retrieves a bunch of records from the db,
loops through them, and transforms the data as part of the OLTP workflow.
It is obviously much better of one can think about SQL as business logic
but this is not that often.

I.e. people think the peg is square but indeed it is round.

--
Best Wishes,
Chris Travers

Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor
lock-in.
http://www.efficito.com/learn_more

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Szymon Lipiński 2016-05-04 11:36:13 Re: Thoughts on "Love Your Database"
Previous Message Geoff Winkless 2016-05-04 10:31:50 Re: Thoughts on "Love Your Database"