Re: What is/is not considered to be good OO programming
Andy Jeffries wrote:
> On Thu, 07 Aug 2003 12:16:55 +0000, Martin Wickman wrote:
>
>>>4) The language allows me to do it, therefore it cannot be wrong.
>>
>>Yup, otherwise you'd get a syntax error...
>
>
> I disagree, something can be "wrong" as in an ugly way of doing something
> but by syntactically correct.
>
> However, I agree there is nothing wrong with what he is doing.
>
If we're talking about doing things wrong from an OOP point of view,
there's a shitload of things you can do wrong. This doesn't mean the
same thing is wrong from a PHP point of view, since PHP is not truly OO.
|