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 on 12/22/05 18:24

>> No, I'm asking you. What problem existed in the case-insensitive world
>> that could ONLY be solved by introducing case-sensitivity?

> Many many years ago it was done for compiler performance reasons. It
> does require lots of extra cycles to lower-case every single
> identifier in a large C application.

On all the hardware I have worked on for the past 30 years the extra
processing cycles for performng case-insensitive searches was never
deemed to be significant. Certainly not important enough to remove the
ability for case-insensitive searches.

If it was done in the C compiler then I can only surmise that the C
compiler was written by idiots.

> Might seem like a poor reason now, but as a COBOL/Mainframe programmer
> should appreciate it -- It was only 2 extra bytes to store the entire
> year but somebody decided that was too much.

Back in those days it was the enormous cost of data storage that made
people store years in 2 bytes instead of 4. But nobody even thought of
reducing processing cycles by eliminating case-insensitive searches as
the loss of that functionality was deemed too great.

 

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

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