[futurebasic] Suffices (was Re: [FB] [FB3] Strange behavior)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2001 : Group Archive : Group : All Groups

From: Michael S Kluskens <mkluskens@...>
Date: Sun, 29 Apr 2001 23:17:22 -0400
At 1:39 PM +1200 4/30/01, Robert Purves wrote:
>Many of us now prefer to eliminate suffices altogether to improve
>readability. We therefore have to use different names for the different
>variables, and thus (as a fringe benefit) avoid the uncertainty of the
>previous paragraph.

Sometimes suffices are an advantage.  For containers I find it 
necessary to quickly find each place were I'm using them, mostly to 
check for certain errors in usage that I just figured out or read 
about or to find places where I'm mixing strings and containers to 
find candidates for conversion to containers.  I also found using the 
string suffix helpful for finding containers for conversion or just 
to check if there is a possibility of overflowing any strings, 
currently my program concatenates strings using specific functions to 
trap the string overflow (now handled by FB^3) and in case of a 
string error to pop up a dialog box telling what subroutine called 
the string concatenator function.

Funny I'm sort of fond of suffices for pointers and handles because 
that makes them catch my eye and I guess I'm used to seeing them that 
way, but since I rarely use either I guess it does not matter.  So 
you don't have to get rid of all of them in your programming style 
till you decided which ones are helpful and which ones make it easier 
to make a mistake as Robert pointed out.  Of course this is from a 
guy who lives and breathes a language without suffices (me and 
Fortran).

Michael
-- 
Michael Kluskens <mkluskens@...>