Re: Storing data and code in a Db with LISP-like interface

From: Rob Thorpe <robert.thorpe_at_antenova.com>
Date: 30 Mar 2006 02:58:06 -0800
Message-ID: <1143716286.355039.60160_at_e56g2000cwe.googlegroups.com>


Roy Hann wrote:
> "Neo" <neo55592_at_hotmail.com> wrote in message
> news:1143603638.582373.250560_at_i40g2000cwc.googlegroups.com...
> > Below is an example script for an experimental db (in development) that
> > can store both data and code.
>
> [snip]
>
> > Any constructive comments appreciated.
> >
> > // ----------------------------------------------------
> > // SIMPLE CAR EXAMPLE
> > // Create car named rx7.
> >
> > // Create a new name with symbols 'car'
> > (create name instance (new))
> > (create (it) symbol (create 'c' 'a' 'r'))
> [snip snip snipsnipsnip]
>
> I will gnaw my legs off before I will write code like that to earn a living!
> (And at this point I don't care what benefits you imagine it confers, so I
> don't mind that you haven't bothered to explain.)

Yes.

Why does car have to be written 'c' 'a' 'r'? Why not
(create (it) symbol (create "car"))

And it could probably be simpler than that.

Also I find it easier to read if keywords inside a form begin with colons. Received on Thu Mar 30 2006 - 12:58:06 CEST

Original text of this message