Lost Password?


home | tags | Search | Feed
Tag >> Design Patterns

Procedural Programming vs Object Oriented Programming

Posted by: orjan in ProgrammingObject Oriented ProgrammingDesign Patterns on

Just giving a few thaugts on this subject, sitting up and can't sleep, 3:37am...

To start with, I mainly code PHP, just to let you get a feeling on what I'm talking about in some ways.

I know the basics in OOP, that's not a problem. I've written a few classes here and there, when I have found it useful. The problem I have is that in most cases, I find the OOP less useful than procedural programming

Object Oriented Design The Singleton

Posted by: John in ProgrammingPHPObject Oriented ProgrammingDesign Patterns on

One of the many annoyances of programming is a variables scope. Generally variables can be declared within the global namespace or the local namespace. When working with methods and classes global variables appear to be a good idea, however overuse of the global namespace can cause variables to clash, it also undermines encapsulation. Moreover, a class which depends on a global variable is

Statistics

Members Today: 229
Members Online: 4
Users Online: 103
Total Users: 16,120
Total Threads: 10,603
Total Posts: 100,519
Newest Member: InsistePhipse