Re: named parameters in SQL functions - Mailing list pgsql-hackers

From Greg Stark
Subject Re: named parameters in SQL functions
Date
Msg-id 407d949e0911151054l47ef1607yad4d2b589e5a2d64@mail.gmail.com
Whole thread Raw
In response to Re: named parameters in SQL functions  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: named parameters in SQL functions
List pgsql-hackers
On Sun, Nov 15, 2009 at 6:26 PM, David E. Wheeler <david@kineticode.com> wrote:
> Personally, I like $var, but @var would be okay, and @@var is acceptable. But I'm JAPH, so my biases should be
obvious.


I'm japh too -- but that doesn't mean grabbing one little aesthetic
from Perl without copying the whole concept behind it makes any sense.
Perl sigils are an important part of the language and are a basic part
of the syntax. They aren't just a "this is a variable" marker.
Dropping one use of them into a language that doesn't use them
anywhere else just makes the language into a mishmash.

I don't see any purpose to using such markers anyways. We have a
parser, we have a symbol table, we should use them; these identifiers
are just like other identifiers.



-- 
greg


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: named parameters in SQL functions
Next
From: Simon Riggs
Date:
Subject: Re: Summary and Plan for Hot Standby