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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-02-2014, 09:52 AM   #1
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Procedural vs oop programming

Which one you use and why?
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 10:00 AM   #2
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
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.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 10:09 AM   #3
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,109
95% oop for C#
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 10:11 AM   #4
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by Ferus View Post
95% oop for C#
I am quite sure how oop is only way to do it in c#,unless dude which was holding a class about it was deliberately showing only oop way
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 10:12 AM   #5
editeur
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.
editeur is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 10:22 AM   #6
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,109
Quote:
Originally Posted by KlenTelaris View Post
I am quite sure how oop is only way to do it in c#,unless dude which was holding a class about it was deliberately showing only oop way
You can write C# without using the OOP thought or design.

A language in itself is not OOP, its how you use it. A "modelling approach" so to speak
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 10:24 AM   #7
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,109
Quote:
Originally Posted by editeur View Post
I write in Erlang ....
Phone hacker? 2600?
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 11:26 AM   #8
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by Ferus View Post
You can write C# without using the OOP thought or design.

A language in itself is not OOP, its how you use it. A "modelling approach" so to speak
Good to know that.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 11:32 AM   #9
symtab
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
symtab is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 01:19 PM   #10
michael.kickass
Too lazy to set a custom title
 
michael.kickass's Avatar
 
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]
michael.kickass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2014, 01:49 PM   #11
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,514
I prefer poop programming over Procedural...
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2014, 02:50 AM   #12
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by michael.kickass View Post
It depends on the problem but clearly oop is the common choice.
Yes it depend on problem and needs.Dont see point of using oop if you just want to print hello world.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2014, 10:52 AM   #13
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Bump for more programmers
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2014, 11:00 AM   #14
sarettah
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!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2014, 11:29 AM   #15
ianlester
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
ianlester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.