Programming Theory
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesProgramming Theory

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old April 5th, 2005, 03:07 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
Classes and OOP

My curiousity has got the best of me on this topic. I have toiled and simply beat my head against a wall learning OPP, and to tell you the truth, is it really worth the trouble and headaches when all is said and done, or is the old method simply the better route?

I realize that the ego side of me likes the OOP programming end of PHP5, however I do find myself going over code more often than I ever did before using simple functions and CASE scenarios, and find that I am taking actually longer to get scripts in line and finished.

Any opinions on the matter would be greatly appreciated.

Reply With Quote
  #2  
Old April 5th, 2005, 03:20 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Classes and OOP

OOP makes things more readable, and easier to follow usually. There is such a thing as too much OOP I believe (Java for instance may have crossed that line), but overall, I think its a very valuable and useful thing to learn

Reply With Quote
  #3  
Old April 5th, 2005, 11:26 PM
lig's Avatar
lig lig is offline
"Forum Nazi"
Click here for more information.
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,727 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 1 h 4 m 45 sec
Reputation Power: 6
RE: Classes and OOP

I look at it this way. Knowledge gained hurts nothing and provides you with more "tools" in your "tool box". And just as with anything else - the more you do it the easier it becomes.

I too tend to also have a hard time wrapping my brain around OOP but I can do it. And in the occasions where it is the better way to go, I use it. I personally feel it is something that all programmers should know - even if we choose to do things procedurally.

(what a round about way to say - stick to it )

Reply With Quote
  #4  
Old April 6th, 2005, 04:32 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Classes and OOP

Many thanks for the opinions thus far.

I am sticking with it and trying to get back to the proper methods of forming a fulfilling class library, but there are just some classes and functions that I seriously scratch my head and say "Oh now..come on..this is getting ridiculous" lol..

I tend to go overboard with some of it, and just a few hours ago, put myself in a error educed hell that I spent probably over a hour trying to figure out. I wound up rewriting the class to a much shorter function, which when I was finished thought "Well, why not just make it a function with a variable switch instead of using the new class method" and that did the trick.

Its a learning process, and one that is going to take some more time to master. I would admit at being at the "average" level at this point with classes, but no where near being proficient as many of you guys.

More practice is needed by far, but I think it will come around eventually to hopefully mirror some of the scripts I have seen here in the new OOP form.
(which..I have to say, looks quite a bit more impressive than simple dollar signs all over the script)

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesProgramming Theory > Classes and OOP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway