Really newbie question on style

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

wyrmmage
Forum Commoner
Posts: 56
Joined: Sat Oct 28, 2006 12:43 pm
Location: boise, ID

Post by wyrmmage »

hmmm....php does support classes, although it is not strictly OOP (in my opinion this is a good thing); creating objects takes up more memory, but they definitely help structure your code and can allow for more variability.
dagee
Forum Commoner
Posts: 33
Joined: Thu Oct 19, 2006 8:31 pm

Classes - not quite yet

Post by dagee »

I'm not quite ready to wrap my mind around classes yet but soon. I think I am looking forward to it.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

yea for now I'd suggest you don't start messing with classes and OOP yet. Get used to the language and set up some standards for yourself in your code... and then when you feel you're ready for more advanced stuff, or the code you're writing now just doesn't seem to be cutting it anymore just ask here and we'll steer ya in the right direction.

The majority of the regulars here are OOP enthusiasts, so you'll get PLENTY of help when it comes to that.
Post Reply