Susan: As one who straddles many platforms, I make local versions of
consistently named subroutines, ie GET.PORT, GET.USER, GET.ACCOUNT, GET.IDS,
OPENER etc. Thus once I install them on any platform, my regular coding is
more straightforward.

My 1 cent.
Mark Johnson
----- Original Message -----
From: "Susan Joslyn" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, September 30, 2005 8:16 AM
Subject: Re: [U2] Good Programming Practice Question.........


> One thing that has been over-looked in this conversation is the notion of
> 'lowest common denominator programming'.
>
> My software runs on all MV platforms. Therefore, whenever possible, I
stick
> with syntax that works on all platforms.  When that is not possible, I
> resort to calls and includes and CASE statements.
>
> Sometimes the syntax that works on ALL platforms is not the clearest, the
> most modern or the fastest to execute on any given platform.  But so far
> I've not been able to justify having multiple versions of code *that are
not
> necessary*.
>
> For example, I don't use alpha labels because they will not compile on all
> versions / flavors.  Same with the REMOVE logic because it doesn't fly on
> all platforms.  Both of those are handy and have benefits -- but are not
> worth keeping up with a separate version of the code for.
>
> Some things there is no common method -- things like the CHANGE() command,
> SWAP, RAISE, LOWER, CONVERT) ... I have to have a different
> subroutine/include/chunk to run this on each platform.
>
> Another nickel in the ante.
>
> Susan
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to