Ooop... Davidlohr Bueso´s post mentions PHP5....
I don´t want to be the one to blame for sidetracking a thread, but Nate, surely you´re not saying there are no OO advantages to PHP5? I know none of them are show stoppers, but IMHO, a lot of the work arounds necessary to improve PHP4s OO make code less clear... for example: Privacy: the _ and ___ workarounds in Cake are nice, but to my mind is far from ideal, I much prefer to have method and variable names without these. Interfaces: I know with PHPs loose typing these aren´t so essential, but again, they make things cleaner.... I`d always assumed the implementation of Behaviours in Cake 1.2 was necessary because interfaces were only supported in PHP5, although I would take no offence to be proved wrong about this! Better reflection.... passing by reference....the list goes on! Like I said, all of these, and other issues, have work arounds: but personally Im glad to have them in my tool kit :) On 27 oct, 07:10, nate <[EMAIL PROTECTED]> wrote: > On Oct 27, 12:05 am, the_woodsman <[EMAIL PROTECTED]> wrote: > > > Although I have to disagree that PHP5 features are used in Cake, > > generally I think Cake encourages good programming practice. > > Who said anything about PHP5? And how exactly does *not* using PHP5 > make OO programming any harder? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
