Re: pl/pgsql oddity

From: Richard_D_Levine(at)raytheon(dot)com
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Geoffrey <esoteric(at)3times25(dot)net>, pgsql-general(at)postgresql(dot)org, pgsql-general-owner(at)postgresql(dot)org
Subject: Re: pl/pgsql oddity
Date: 2004-12-16 20:34:03
Message-ID: OF0EDB0829.037C6E3B-ON05256F6C.0070A6BE@ftw.us.ray.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I prefer the FORTRAN66 construct

IF <condition> <label1> <label2> <label3>

where it jumps to label1 if <condition> is negative, label2 if zero, and
label3 if positive. No else ifs about it.

I hope you realize I'm as kidding as I am obviously too old.


Michael Fuhr
<mike(at)fuhr(dot)org> To: Geoffrey <esoteric(at)3times25(dot)net>
Sent by: cc: pgsql-general(at)postgresql(dot)org
pgsql-general-owner(at)pos Subject: Re: [GENERAL] pl/pgsql oddity
tgresql.org


12/16/2004 01:16 PM

On Thu, Dec 16, 2004 at 12:27:53PM -0500, Geoffrey wrote:

> I don't know of any other language that permits multiple spellings for
> the same construct. I'd be concerned with starting such a precedent.

I'd be in favor of making it a bloody law that every bloody language
use the same bloody spelling. I'm forever forgetting whether a
particular language uses ELSE IF, ELSEIF, ELSIF, or ELIF. Grumble,
grumble, grumble....

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard_D_Levine 2004-12-16 21:18:45 Re: pl/pgsql oddity
Previous Message Martijn van Oosterhout 2004-12-16 20:25:22 Re: pl/pgsql oddity