Subject: RE: Modified Proposal ... - modified syntax for "export"
From: Warmke, Doug (doug_warmke@mentorg.com)
Date: Thu Nov 21 2002 - 18:22:08 PST
Gents,
One quibble here:
>
> > However I kind of like the flow of the english sentence better with
> > "as".
> >
> > export [modulename::] function fname [as cname];
> > Kind of rolls off the tongue easier don't you think ?
>
> Well, I can recall COBOL: "ADD A TO B GIVING C ON ERROR GO TO ..."
> which was definitely more intuitive than C: "while(*p++|=*q++);".
How about we keep the [modulename::] token smashed right
together with the fname token, as in C++ class::memberFunc?
I don't really like having the keyword function stuck right
in the middle of those two closely-related user identifiers.
Thus I would propose:
export function [modulename::]fname [as cname];
I would also be OK with Andrzej's proposal. I like the
way the "as" rolls off the tongue, but it is adding to
the keyword list :(
Thanks and regards,
Doug
This archive was generated by hypermail 2b28 : Thu Nov 21 2002 - 18:22:33 PST