Re: static vs global variable [message #172721 is a reply to message #172711] |
Sun, 27 February 2011 16:09 |
sheldonlg
Messages: 166 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 2/27/2011 4:01 AM, The Natural Philosopher wrote:
> sheldonlg wrote:
>> On 2/26/2011 2:12 PM, The Natural Philosopher wrote:
>>> Lok I love PHP as a simple fast way to get web pages that have
>>> intelligence and talk to an SQL backend. But the be all and end all of
>>> programming languages?
>>
>> Who ever said _that_? You want to write microprocessor code? Of course
>> it not PHP. But, TNP, this a PHP news group. We use PHP for what it is
>> designed -- and for that it is fantastic.
>>
> That was my point.
>
> Is 50 pages of complex OOP code what it was designed for?
Could be. I have written an accounting application for an intranet
which was sufficiently complex, with enough options, that it was greater
than 50 pages of OOP code. If it were not written in OOP it would
likely have been much more prone to error and a lot harder to develop.
As a famous saying goes "Size doesn't matter. It's what you do with it
that counts."
--
Shelly
|
|
|