You are here: Re: No more access to characters in strings in PHP 6? « PHP Programming Language « IT news, forums, messages
Re: No more access to characters in strings in PHP 6?

Posted by Oli Filth on 11/26/05 03:33

Oliver Saunders said the following on 25/11/2005 23:57:
> no no no.
>
> $str{} is deprecated
> $str[] was deprecated but is now undeprecated

God bless the PHP "design" committee - deprecate something, introduce a
new syntax, then deprecate the new syntax and re-introduce the old
syntax. A real step forward for the "keep the language simple" principle
that they so fervently claim to adhere to.

It sometimes seems that there's no long-term vision at all when it comes
to the development of PHP.

> http://www.php.net/~derick/meeting-notes.html

There's several things described in that document which, IMO, show that
the developers are just trying to pander to novices <insert flame-war
here> and oversimplify the language by adding "features" which make
certain things superficially easier to do, but will actually end up
leading to bad coding practices in the long-run. i.e.

* The "pseudo" goto
* Adding a constructor to interface definitions - that literally makes
no sense at all.
* Late static binding - no no no, that will make people assume that
polymorphism of statics makes some kind of sense, and that it's a
sensible idea.

However, I can only applaud the plan for the removal of magic_quotes and
register_globals. :)

--
Oli

 

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

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