Oh yeah, I'm with you on that one, Javier, when it comes to abbreviations!  
Another thing that I "waste my time" correcting in others' code.  I cringe when 
I see "WHE", I change all abbreviations to the full words, just using a simple 
"replace / whole word" to do the WHE, SEL, UPD, etc.....

I do remember back in early DOS days when we were all so freaked out over the 
speed of our applications that we grabbed at every promise of enhancing speed.  
I don't think the tradeoff of whatever speed advantages there are nowadays 
equals the ease of reading full-word code (much less the chance that future 
software versons might not recognize the abbreviations)

Have a great weekend, friend Javier!

Karen

 

 

 

-----Original Message-----
From: Javier Valencia <[email protected]>
To: karentellef <[email protected]>
Sent: Fri, Oct 16, 2015 9:19 am
Subject: [RBASE-L] - Re: extracting the most recent data



All my code includes the full syntax for the command, no shortcuts or 
abbreviations and I try to add comments  describing what the program is doing; 
I use uppercase for all commands. At my age, remembering what the logic was 
behind the programming is becoming more difficult and the comments help a lot 
when reviewing older code.
 
Using abbreviation was OK in the old days when memory was at a premium but now 
that memory is plentiful. It makes no sense to me to use shortcuts and/or 
command abbreviation that makes the code challenging to read and very difficult 
for those not experienced in R:Base programming. Now, when I write code, I do 
it with the idea that someone else will be maintaining it in the future and I 
want to make it easy for them to understand what I was doing. Just my two 
cents…J
 
Javier,
 
Javier Valencia, PE
O: 913-829-0888
H: 913-397-9605
C: 913-915-3137
 
From: [email protected] [mailto:[email protected]] On Behalf Of Karen Tellef
Sent: Friday, October 16, 2015 8:13 AM
To: [email protected]
Subject: [RBASE-L] - Re: extracting the most recent data
 
This validates something I do and I'm glad to see it!  I had a consultant yell
at me once for "taking the time" to add parenthesis and commas into commands
that were written by someone else lacking those things.  I knew someday that
sloppy codewriting might come back to hit ME even though I hadn't written it.
I will continue to monitor for 100% correct syntax!!

I think with the advent of mobile devices and texting, etc., future programmers
will have issues with the concept of needing every single comma in its perfect
place, no shorthand!  Unless of course someone invents a programming language
not requiring perfection....

Karen

 

 

-----Original Message-----
From: A. Razzak Memon <[email protected]>
To: karentellef <[email protected]>
Sent: Fri, Oct 16, 2015 7:24 am
Subject: [RBASE-L] - RE: extracting the most recent data

At 09:58 PM 10/14/2015, Michael J. Sinclair wrote:
 
>RDCC set me
straight....
> 
>Here is what they said......
> 
>This is not a bug.
> 
>When
using the correct and current command syntax for the BROWSE command,
>the issue
should not occur.
> 
>BROWSE (MAX(RDATE_)), PATNUMBR, CPTCODE, SERVICE FROM
TODO0 GROUP BY
>PATNUMBR, CPTCODE, SERVICE
> 
>Please note the use of commas
in the command syntax.
> 
>I was not using the commas correctly.
> 
>Now I
have a much improved concept of the power of the group by 
>option and how
>to
use it.
 
 
Yes, the R:DCC (R:BASE Development Corner Crew) will always set
 
things straight!
 
Enjoy all privileges of communicating directly with the
development 
team of R:BASE,
and the unprecedented product support.
 
Very
Best R:egards,
 
Razzak  
 
 



Reply via email to