Subject | Re: [Firebird-Architect] Suggestion about variable declaration |
---|---|
Author | Jim Starkey |
Post date | 2005-10-27T14:52:36Z |
Jason Dodson wrote:
procedure language with a passion (I much prefer the more simpler, more
powerful GDML trigger language).
That said, the current language is a Pascal derivative, certainly
because Borland flogged Pascal compilers. And while Pascal was once a
common pedagogical language, my understanding is that it has been
universally supplanted by Java. As Borland withers and dies, so most
likely will Pascal.
If we're going to be playing with trigger and procedure languages,
doesn't it make more sense to use C/C++/Java style declarations:
<type> <variable> [, <variable>] ;
rather than
declare <variable> [, <variable] <type>
?
--
Jim Starkey
Netfrastructure, Inc.
978 526-1376
>This is generally bad practice... simply because there are at least threeI've been staying out of this thread because I hate the trigger/store
>languages that I know of where i and j would be declared as Variants/Generic
>type in your example.
>
>
>
procedure language with a passion (I much prefer the more simpler, more
powerful GDML trigger language).
That said, the current language is a Pascal derivative, certainly
because Borland flogged Pascal compilers. And while Pascal was once a
common pedagogical language, my understanding is that it has been
universally supplanted by Java. As Borland withers and dies, so most
likely will Pascal.
If we're going to be playing with trigger and procedure languages,
doesn't it make more sense to use C/C++/Java style declarations:
<type> <variable> [, <variable>] ;
rather than
declare <variable> [, <variable] <type>
?
--
Jim Starkey
Netfrastructure, Inc.
978 526-1376