You are here: Re: Breaking backwards compatibility - good or bad? « PHP Programming Language « IT news, forums, messages
Re: Breaking backwards compatibility - good or bad?

Posted by Tony Marston on 10/07/85 11:36

"Wayne" <not@here.com> wrote in message
news:pj7kr1leu0eb5cbtdv08cq15ll3d662t7m@4ax.com...
> On Sun, 1 Jan 2006 20:00:56 -0000, "Tony Marston"
> <tony@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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация