It's been touched on, but I want to emphasize learning by doing. Look through your code base. Do you have subroutines that appear in more than one program? Consider taking one of those subroutines and making it into a procedure. Then take that procedure and figure out how to put it in a service program and use it from there. And it doesn't have to be subroutines. It could just be duplicated code. We had lots of string handling code repeated in our programs. One of my first service programs was to clean all of those up. There are probably better ways to do this now, but I still use these routines today in new code:
Routines in this module.
#Left. Returns the leftmost portion of a string.
#Right. Returns the rightmost portion of a string.
#Center. Returns a centered string.
#Upper. Returns a string converted to uppercase.
#Lower. Returns a string converted to lowercase.
#GetTok. Returns tokens from a string.
#XmlEncode. Translates special characters to XML safe represenations.
#XmlDecode. Translates XML safe represenations back to special characters.
The more you use the newer techniques, the easier it will be to find places to use them.
On Fri, 2020-11-06 at 18:26 +0100, Maria Lucia Stoppa wrote:
To those who asked: my weaknesses are about modules, procedures and service
programs, procedure interfaces included. I made a few of them, but I can't
easily create new ones that fit differents requirements, thus I think I
miss some critical points, despite all the readings I have done and do,
from both official and specialized sources. Many available courses syllabus
talk about "Introduction to ....(these topics)" which to me doesn't sound
like in-depth.
[
https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com
CONFIDENTIALITY NOTICE
This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.
As an Amazon Associate we earn from qualifying purchases.