[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Should PRIVATE STATIC be preferred over PRIVATE when...

  • Thread starter Thread starter Lieven De Foor
  • Start date Start date
Status
Not open for further replies.
L

Lieven De Foor

Guest
Sometimes you don't want others to call these methods, and by making them private static to the class you keep them out of reach. Creating a helper causes these to become public. I've always been wary of public static (can't be put in an interface, can't be mocked), but for private static those objections don't really come into play...

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