Reply to Re: what percentage of propessional PHP developers use OOP?

Your name:

Reply:


Posted by Erwin Moller on 06/27/07 13:15

gosha bine wrote:

> On 27.06.2007 14:03 Erwin Moller wrote:
>> gosha bine wrote:
>>
>>> On 27.06.2007 08:19 macca wrote:
>>>> Hi, ive been working with PHP for about a year and a half now, and
>>>> have always been able to do everything i need with procedural code and
>>>> a nice UD function include.
>>>>
>>>> However, i have always worked for myself (freelance) on my projects
>>>> and never in a developmental job but was thinking of changing this.
>>>>
>>>> Is it likely that i will have to start coding using OOP to fit in?
>>>>
>>>>
>>>> Cheers.
>>>>
>>> To answer your post's title
>>>
>>> > what percentage of propessional PHP developers use OOP?
>>>
>>> it's 100%, because not using OOP is the first sign of amateurism.
>>> Everyone who is a professional uses OOP (the contrary is not always
>>> true).
>>
>> Is that a fact?
>> Damn, I am afraid I have to call all my happy-happy-joy-joy clients to
>> tell them I have to refactor all my code because I appear to be an
>> amateur after all.
>
> Are you using any third-party libraries or frameworks in your projects?
> Do you unittest your code? If one of the answers is yes, how did you
> manage that without OOP?

I use third-party libs. I never use a framework. (Tried a few but I always
feel restricted.)
As I wrote in my first response, I see a difference between making your own
classes and using them.
I couldn't work like I do without it.

>>
>> Nothing against OOP, but stating all code without OOP is amateurish is
>> complete bullshit.
>
> If you're going to be harsh, look for someone else to talk to. It wasn't
> my intent to offend anyone and it's really pity to see how you overreact.

Sorry about that, but it irritated me you claimed not using OOP is
amateurish.
I agree I overreacted. There is another reason for me being touchy, that has
nothing to do with you.
Sorry if I offended you (sincerely).


>
>> I did a lot OOP during my J2EE days, and am completely happy with PHP
>> without OOP nowadays. I am also happy with PHP WITH OOP.
>> Use it if you like it, don't if you don't like it.
>> It is just another way of expressing oneself in code.
>>
>> Are you aware that the majority of software YOU use is written in plain
>> good old C? Is your OS amateurish?
>
> Yes, it's WinXP ;)

Yes that explains your point of view completely.
;-)

>
> For clarity, I was referring only to web programming in php, not to
> programming in general.
>
>>
>> If you are trolling, well done, you had me. ;-)
>
> I'm not. Are you?

Nope.

>
>> If you are serious: get better informed.
>>
>> You can write perfectly good PHP software without OOP.
>
> Perhaps, but this wouldn't make sense, because there's OOP. One can
> survive without a kidney, but one's better off with it.

Yes, I differantiate between using third-party classes and making them.
The former is a neccesity (did I spell that right?), the latter a choice.

Lets forget about it. I shouldn't write while irritated. ;-)

[Erwin offers a beer.]

Regards,
Erwin Moller


>
>>
>> Regards,
>> Erwin Moller
>
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация