"Wayne" <no*@here.com> wrote in message
news:pj********************************@4ax.com...
On Sun, 1 Jan 2006 20:00:56 -0000, "Tony Marston"
<to**@NOSPAM.demon.co.uk> wrote:
Would any sensible programmer deliberately create variable or function
names
in different mixtures of upper and lower case to mean different things?
As I mentioned in my previous posting, yes. As I mentioned in a
posting a week or so ago with the same content, yes. It happens all
the time in case-sensitive languages. Differences in case have
different sematic means and usually correspond to different namespaces
(classes, constants, variables, etc).
If, as I strongly believe, no sensible programmer would do this, then why
allow
the language to provide such a useless "feature" in the first place?
The majority of C and Java code do just that. You need to change your
"strong belief".
Are you saying that the majority of Java and C coders deliberately create
different versions of the same function/variable name with different
mixtures of upper and lower case? Is this considered a good or bad practice?
If it is a bad practice, then why allow it in the first place? If there is
the potential to abuse such a feature and produce code which is hard to
maintain, then can such a feature be justified? The arguments against the
humble GOTO pale in comparison.