You are here: Re: Constructor as a "Reset" Button « PHP Programming Language « IT news, forums, messages
Re: Constructor as a "Reset" Button

Posted by Sanders Kaufman on 07/25/07 02:17

Jerry Stuckle wrote:
> Sanders Kaufman wrote:

>> If I were to write a "reinit()" it would do exactly the same thing.
>> How is that not redundant?
>
> And it is incorrect to do it this way, and will eventually cause you
> problems.
>
> What happens, for instance, if PHP changes so that the base class
> constructor is called automatically?


There is absolutely no chance that the PHP team will change PHP4 to
behave that way.

Look - I'm wanting to do like you guys say, be all correct about not
cutting academic corners. I much prefer doing it right, simply because
it is right.

But this is a PHP application, with some value added by OOP - not the
other way around.

And as y'all full well know, PHP4 ain't a proper OOP language. So no
matter how much I might bend over backwards to treat it that way - it
ain't gonna happen cause it can't.



> There is no replacement for good programming - and no excuse for sloppy
> programming.

Sloppy, in this case, would be to get sidetracked into adding redundant
features in order to program pure OOP - even though the language doesnt
fully support it and the environment doesn't not require it.

I appreciate y'alls help - but I'm here to please the end user, not the
consultants.

And really... about those charities...

 

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

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