Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-03 Thread Jochem Maas
Rasmus Lerdorf wrote: Jochem Maas wrote: I understand the point you made below - you have made this argument before and I, for one, accepted it as valid when I first read the discussion on internals - which is why I avoided ranting about that (and changes like it) But you didn't avoid it,

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-02 Thread Jochem Maas
hi Rasmus, I understand the point you made below - you have made this argument before and I, for one, accepted it as valid when I first read the discussion on internals - which is why I avoided ranting about that (and changes like it) But I am wondering what if any your views might be on the

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-02 Thread Rasmus Lerdorf
Jochem Maas wrote: I understand the point you made below - you have made this argument before and I, for one, accepted it as valid when I first read the discussion on internals - which is why I avoided ranting about that (and changes like it) But you didn't avoid it, you used it as an example

[PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread Jochem Maas
I get this sometimes, it often means I have overlooked something: Fatal error: Access to undeclared static property: AreaAgendaItem::$extraFields EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to use OO then all of a sudden the OO nuthouse runs out to put a

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread tedd
At 4:01 PM +0200 6/1/06, Jochem Maas wrote: I get this sometimes, it often means I have overlooked something: Fatal error: Access to undeclared static property: AreaAgendaItem::$extraFields EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to use OO then all of a

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread John Nichel
Jochem Maas wrote: I get this sometimes, it often means I have overlooked something: Fatal error: Access to undeclared static property: AreaAgendaItem::$extraFields EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to use OO then all of a sudden the OO nuthouse runs out

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread John Meyer
John Nichel wrote: Do what I do, and don't do OO. ;) In other words, do what works, realizing that 99 percent of the time that you're doing indivdual sites, and ignore dogma? Hmm, what a concept! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread John Nichel
John Meyer wrote: John Nichel wrote: Do what I do, and don't do OO. ;) In other words, do what works, realizing that 99 percent of the time that you're doing indivdual sites, and ignore dogma? Hmm, what a concept! Actually, the company I work for operates multiple sites which all

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread Robert Cummings
On Thu, 2006-06-01 at 15:01, John Meyer wrote: John Nichel wrote: Do what I do, and don't do OO. ;) In other words, do what works, realizing that 99 percent of the time that you're doing indivdual sites, and ignore dogma? Hmm, what a concept! Other than basic inheritance and the

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread Jochem Maas
Robert Cummings wrote: On Thu, 2006-06-01 at 15:01, John Meyer wrote: John Nichel wrote: Do what I do, and don't do OO. ;) there an 'oo baby' joke in there somewhere :-) In other words, do what works, realizing that 99 percent of the time that you're doing indivdual sites, and

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread Robert Cummings
On Thu, 2006-06-01 at 17:43, Jochem Maas wrote: Robert Cummings wrote: On Thu, 2006-06-01 at 15:01, John Meyer wrote: John Nichel wrote: Do what I do, and don't do OO. ;) there an 'oo baby' joke in there somewhere :-) In other words, do what works, realizing that 99 percent

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread Jochem Maas
Robert Cummings wrote: On Thu, 2006-06-01 at 17:43, Jochem Maas wrote: ... Other than basic inheritance and the namespace features provided by classes, I don't see much else that is critically useful. There's was a strange push for all kinds of advanced OO features in PHP5 and somehow

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread Robert Cummings
On Thu, 2006-06-01 at 19:14, Jochem Maas wrote: Robert Cummings wrote: Ahh yes, I do like the elegance of prototypes too. They're a different kind of beast, but a very flexible one. the more I get in it the pretty it gets - javascript doesn't just give you a revolver to shoot yourself

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread Rasmus Lerdorf
Robert Cummings wrote: Well there was a segfault, but that's fixed now, now the warning is thrown because of some purist attitude that says it's incorrect to pass a literal to a reference expecting parameter... I can see how that's an issue in C with pointers, or in a strongly type language

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-01 Thread John Meyer
Robert Cummings wrote: On Thu, 2006-06-01 at 19:14, Jochem Maas wrote: Robert Cummings wrote: Ahh yes, I do like the elegance of prototypes too. They're a different kind of beast, but a very flexible one. the more I get in it the pretty it gets - javascript doesn't just give you a revolver