Lost Password?


home | tags | Search | Feed
Tag >> Object Oriented Programming

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

Tramp Variables

Posted by: Jordan in Object Oriented Programming on

I was reading an OOP design pattern book and it mentioned creating Tramp Variables.  This was the first time I'd heard this particular term used to describe a function variable and it actually made me laugh.  I did a search on google for "Tramp Variable" and couldn't find anything relating to what I'm fixing to write so this term must be relatively new, extremely old (and unused), or something

PHP Reflection and Plugins

Posted by: Jordan in ProgrammingPHPObject Oriented Programming on

The PHP reflection API allows you to view metadata and comments in your PHP scripts which allow you to create highly expandable PHP scripts.  It may seem trivial, the ability to look at your own source code from your script but the set of classes and methods provided by this API give you the ability to create easy plugin features, invoke code pragmatically and create instances of code.

Imagine you

NaNoWriMo Days 5 14

Posted by: WingedPanther in Object Oriented ProgrammingGUICpp on

Not much to say, since I've been reading function definitions, etc.  Pretty boring stuff.  Getting anything to Link, however, has been an adventure.

GCC has a few interesting "quirks": first, it doesn't automatically locate compiled objects in the search path.  Second, it doesn't automatically handle linking of dependent object files in the correct order.  The result is that you end up with

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: 228
Members Online: 3
Users Online: 104
Total Users: 16,119
Total Threads: 10,603
Total Posts: 100,519
Newest Member: marlen