Re: named parameters in SQL functions
От | Greg Stark |
---|---|
Тема | Re: named parameters in SQL functions |
Дата | |
Msg-id | 407d949e0911151054l47ef1607yad4d2b589e5a2d64@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: named parameters in SQL functions ("David E. Wheeler" <david@kineticode.com>) |
Ответы |
Re: named parameters in SQL functions
|
Список | 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 по дате отправления: