Re: Variable/Procedure Naming Conventions

Author: Gene Wirchenko

Posted: 2017-07-26 at 22:07:48

At 10:51 2017-07-26, Stephen Russell <srussell705@gmail.com> wrote:

>I have never been a fan of expressing the data-type in the name of the var

>or function from VFP days on. lcCustomerName doesn't need c now does it?

> dDueDate if you need to read a d as date, why is it in the blasted name?

True. Why is the variable name not dDue?

I sometimes code using prefixes. Mine are only related to

type. For example, I use "c" for count, "x" for index, and "s" for

size. All of these will probably be some integer type.

>Everyone makes their own style and like art it is yours.

And like art, it attracts critics.

[snip]

Sincerely,

Gene Wirchenko

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/4b765ab4a99839717b7653977a44a183@mtlp000085

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2017 Gene Wirchenko