[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Defining variables in a local scope.

  • Thread starter Thread starter onnodehaan
  • Start date Start date
Status
Not open for further replies.
O

onnodehaan

Guest
I feel that if you have a routine of 5000 lines you should break it up in smaller pieces. When I have to scroll more than a screen, I'm usually inclined to break stuff up into smaller funtions/procedures. So scrolling to the top is almost never necassary. To me a variable that is only used in a small piece of code in a big routine, indicates that that piece of code should be made into a function/procedure.

Continue reading...
 
Status
Not open for further replies.
Back
Top