Oop Pro And Contra

Started on the old forum in November 2007 · view the original in the archive · old links redirect here

2 replies · 730 views · started 19 years ago · 1 min read

3 participants
GumSlone Administrator Principal · 1,690 posts #1

Im working on a new commynity script which should replace the world.2wap.org, well i just wan to ask what are the advantages between OOP and simple coding? I can as easy create a simple file with many many function to use this in my script without any classes. I see wizard has classes in his new script, why that does it make sense?

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

wizard Senior · 493 posts #3

how did u know i use OOP now gums lol. mind enuh!. anyways oop is effective when ur coding a large scale script. of course u can get the same result using a bunch of functions, but like andre said, the main purpose is to separate logic from display. use oop only if ur script is relatively large.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close