Re: Dollar in identifiers

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)yahoo(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Dollar in identifiers
Date: 2001-08-15 20:58:31
Message-ID: 200108152058.f7FKwWF29892@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Peter Eisentraut wrote:
> > Jan Wieck writes:
> >
> > > Could you live with it when we don't allow a name to start
> > > with a dollar, but allow the dollar inside or at the end of
> > > the name?
> >
> > At the end would also be a problem because of parsing conflicts with
> > operators. (E.g., foo$<$bar) I don't really like this idea; we don't
> > have to follow all the nonsense of other people.
>
> I allways found it bad coding style not to separate things
> with whitespaces. But that's just my opinion.

A bigger issue is how we handle future uses of $. Because $ is such a
natural Unix use for environment variables and positional parameters, we
may fine a use for it some day.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2001-08-15 21:05:22 Re: Dollar in identifiers
Previous Message Ian Lance Taylor 2001-08-15 20:32:02 Re: Dollar in identifiers