× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



DeLong, Eric wrote:
Good for you! Keep your procedures short and on-point.

Seconded!

Naming conventions, like all standards, vary from shop to shop.
Personally, I never liked aaannn type conventions, since the numeric
component tells you precisely NOTHING about what this procedure does. I
like to choose names that seem to make sense when you read them in code,
like "Clt_NameIsValid" and "Com_NameIsValid". In use, your code reads
like a book:

I agree in general ... although I prefer to go with a more 'java-esque' mode ... so I'll have the major 'object' of my procedure as the first part ... and then the method as the 2nd part. For instance: for something that checks to see if an issue number is valid ... "Issue_isValid(issueNum)" or "Issue_setState(issueNum, newState)".

I abhor short names and numbered names ... for the same reasons Eric mentioned ... with the added reason that it harkens back to the dark ages of short variable names ... which has been known to cause PTSD type responses in some programmers.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.