FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » out of sheer curiosity...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: out of sheer curiosity... [message #177431 is a reply to message #177430] Thu, 29 March 2012 12:02 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
Am 29.03.2012 12:46, schrieb The Natural Philosopher:
> Leonardo Azpurua wrote:
>> "M. Strobel" <sorry_no_mail_here(at)nowhere(dot)dee> escribi� en el mensaje
>> news:9tij5fFmi8U1(at)mid(dot)uni-berlin(dot)de...
>>
>>> Yes, this was truly an article.
>>>
>>> Next problem (or assignment) is to understand the supported paradigms,
>>> and how to use them to meet your requirements.
>>>
>>> I think of the - real or felt? - large ignorance of OO programming in PHP.
>>
>>
>> Probably felt.
>>
>> I mean, I am ignorant of much of PHP. But its support for OOP is quite standard:
>> single inheritance, interfaces, private, public and protected visibility, abstract
>> vs. concrete classes and methods. The "magic methods" which I just discovered
>> thanks to Alvaro Vicario's response to my original post are sort of
>> "idiosincratic", but perfectly understandable. It lacks operator overloading (which
>> I have never actually used) and signature based overloading (which might come
>> handy, but would probably conflict with the dynamic nature of PHP function calls,
>> which I certainly prefer).
>>
>> I have been using (crippled) OO languages for the last couple of decades, and my
>> analisys and design methods are purely OO.
>>
>
> Do you know, I don't even know when my analysis and design methods are OO and when
> they are not.
>
> Its just another way of doing things and I let my understanding of the problem guide
> me, not a set of arbitrary rules.
>
> I dont use OOP languages, because having read up on them extensively when they first
> appeared I simply thought 'oh, ok, I see where they are coming from' and incorporated
> a few ideas about how code and data should be organised in pseudo object form, and
> moved on. The benefits are in the way of looking at things, not enforcing a set of
> strictures on programming. Especially when many coding problems do not lend
> themselves to those strictures.
>
> (and almost all of the problems to which PHP is the natural language of choice do not
> benefit from OOP. If a web site is the application each php 'page' is an object in
> its own right..anyway. Neither are microprocessors in the end object oriented.
> Object orientation stresses the structure of data, whereas procedural coding
> stresses the way in which processing is carried out.)

This is exactly what I mean: how does the OO concept help me?

You could compare it maybe to languages: there is the passive and the active
knowledge, passive means you understand (some), active means you talk (some).
Understanding what someone says is far easier than saying it yourself.

You must get to talk OO - or whatever the concept is. I only learned talking OO after
attending some Java courses, and I already had 10 years of IT experience then.

/Str.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 5.4 windows installer.
Next Topic: Does PHP5 treat $_SERVER['PHP_AUTH_USER']) differently?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 14:23:12 GMT 2024

Total time taken to generate the page: 0.04723 seconds