On Tue, Jan 19, 2010 at 7:11 AM, Ben Stones b3n...@googlemail.com wrote:
Hi,
I've been learning about object oriented programming for the past few weeks
and I've understood it pretty well, but I have one question. Usually with
PHP scripts I make, all the functionality for a specific page is
On Fri, 2010-03-12 at 06:49 -0800, Andrew Brookins wrote:
On Tue, Jan 19, 2010 at 7:11 AM, Ben Stones b3n...@googlemail.com wrote:
Hi,
I've been learning about object oriented programming for the past few weeks
and I've understood it pretty well, but I have one question. Usually with
I also agree OOP is not a fad. Its a step up from procedural/including.
And it's still evolving.
While PHP is able to do polymorphism perfectly without OOP/classes,
through require($plugin/className); $varFunctionName ($p1, $p2,
etc);, My newsscraper works very well that way.
But if you want
[snip]
Another advantage of OOP that is difficult to
provide via the procedural paradigm is polymorphism.
Agreed. Though the advantages of polymorphism are questionable,
depending on your viewpoint.
[/snip]
In a loosely typed language like PHP that advantages of polymorphism far
outweigh any
At 10:26 AM -0500 1/19/10, Bob McConnell wrote:
Some problems will fit into it, some don't.
I teach OOP thinking at the local college and haven't run into a
problem that doesn't fit. For example, in my last class I had a woman
who wanted to pick out a blue dress for her upcoming wedding
On Wed, Jan 20, 2010 at 06:47:04AM -0600, Jay Blanchard wrote:
[snip]
Another advantage of OOP that is difficult to
provide via the procedural paradigm is polymorphism.
Agreed. Though the advantages of polymorphism are questionable,
depending on your viewpoint.
[/snip]
In a loosely
[snip]
My viewpoint may be jaundiced from having programmed in C++, but the
polymorphism of PHP seems a little crippled by comparison.
[/snip]
I wholeheartedly agree, but I figured out how to work with it in PHP to
my advantage and the advantage of my team. It'll get better...
--
PHP General
Jay Blanchard wrote:
[snip]
My viewpoint may be jaundiced from having programmed in C++, but the
polymorphism of PHP seems a little crippled by comparison.
[/snip]
I wholeheartedly agree, but I figured out how to work with it in PHP to
my advantage and the advantage of my team. It'll get
2010/1/20 tedd tedd.sperl...@gmail.com:
Also IMO, one can argue the advantages that OOP and Design Patterns bring to
the table over procedural, but after all is said and done, if you know your
stuff in procedural, OOP is not going to provide you with much that you
don't already have.
You also
tedd wrote on 20/01/2010 16:11:
At 10:26 AM -0500 1/19/10, Bob McConnell wrote:
Some problems will fit into it, some don't.
I teach OOP thinking at the local college and haven't run into a problem
that doesn't fit. For example, in my last class I had a woman who wanted
to pick out a blue
On Wed, Jan 20, 2010 at 10:11:18AM -0500, tedd wrote:
snip
While I teach OOP, I don't write any OOP for clients. My charge is to
do things quickly and OOP requires a considerable amount of analysis
before creating a solution. In most cases, I don't have the time.
Besides, I'm more of an
From: tedd
At 10:26 AM -0500 1/19/10, Bob McConnell wrote:
Some problems will fit into it, some don't.
I teach OOP thinking at the local college and haven't run into a
problem that doesn't fit. For example, in my last class I had a woman
who wanted to pick out a blue dress for her
Hi Bob,
[Couldn't resist jumping into this topic :)]
Even if you look at traditional unix (or similar) kernel internals,
although they tend to use functional paradigms, they do have a
OOP-like flavor. Example:
Everything in a unix system is a 'file' (well not really with
networking logic, but
At 11:31 AM -0500 1/20/10, Bob McConnell wrote:
From: tedd
At 10:26 AM -0500 1/19/10, Bob McConnell wrote:
Some problems will fit into it, some don't.
I teach OOP thinking at the local college and haven't run into a
problem that doesn't fit. For example, in my last class I had a woman
At 11:18 AM -0500 1/20/10, Paul M Foster wrote:
On Wed, Jan 20, 2010 at 10:11:18AM -0500, tedd wrote:
snip
While I teach OOP, I don't write any OOP for clients. My charge is to
do things quickly and OOP requires a considerable amount of analysis
before creating a solution. In most cases,
From: Ben Stones
I've been learning about object oriented programming for the past few
weeks
and I've understood it pretty well, but I have one question. Usually
with
PHP scripts I make, all the functionality for a specific page is in
the
actual PHP file, and I'd use PHP functions in a
On Tue, 2010-01-19 at 12:30 -0500, Paul M Foster wrote:
On Tue, Jan 19, 2010 at 03:11:56PM +, Ben Stones wrote:
Hi,
I've been learning about object oriented programming for the past few weeks
and I've understood it pretty well, but I have one question. Usually with
PHP scripts I
17 matches
Mail list logo