![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Procedural vs oop programming
Which one you use and why?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
Both but mostly procedural, because it's easier for clients to follow when they want to make minor changes themselves without actually knowing PHP.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,109
|
95% oop for C#
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Nov 2013
Posts: 252
|
I write in Erlang and use functional one.
There's not much difference between OOP and procedure, both are imperative and both work with mutable data.
__________________
BossTDS - Traffic Distribution System |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,109
|
Quote:
A language in itself is not OOP, its how you use it. A "modelling approach" so to speak |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,109
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Nov 2009
Posts: 415
|
I prefer oop (easier to maintain, easier to extend) in PHP. I however dont like the new style with namespaces and where evertyhing is a object (its really slow compared to classic oop/procedural).
__________________
Adult Scripts: Adult Script Pro 3.4.0 - Adult Search Script 3.8.0 Adult Traffic: Plug Rush - ExoClick |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Too lazy to set a custom title
Join Date: Mar 2009
Posts: 11,039
|
It depends on the problem but clearly oop is the common choice.
__________________
NICERATIOS - $30 PPS - 50% Rev Share - 5% WM Referral - High Converting Sites!
Any questions about your NICERATIOS account? Vanessa will take care of you: [email protected] Looking to expand your business in general, maybe sell your sites? Contact me: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,514
|
I prefer poop programming over Procedural...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Bump for more programmers
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,057
|
I've done lots of oops programming.
Oops, forgot the semicolon. Oops, forgot the bracket. Oops, gonna need an admin panel for that, aren't we. Oops, sorry I wiped out the database, but it's a whole lot cleaner now, don't you think. When I was in the military I was involved in one program where we went Oops, there goes the Chinese Embassy. I've been doing exclusively Oops programming since I started in on this shit and that is a long, long time ago. Figure I'll probably be doing Oops programming till the day I die. ;p .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Sep 2007
Posts: 207
|
It depends on the size of the project imo.
If it's really small then procedural makes a lot of sense. It's quicker to code in most cases & as k0nr4d said easier for non-programmers to edit. However, as the scope & size of the project increases, you will find OOP to be much more efficient. Especially when you have multiple programmers working on the same code base.
__________________
Adnium - CPMv Adnetwork |
![]() |
![]() ![]() ![]() ![]() ![]() |