Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Storing data and code in a Db with LISP-like interface

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@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 - 04:58:06 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US