Re: What is/is not considered to be good OO programming
R. Rajesh Jeba Anbiah wrote:
[color=blue]
>
> A person starts a thread, asking comments about his OO tutorial.
> Many real programmers here refuse to accept his code as good OO. He[/color]
Many other real programmers found the code acceptable, still more found
his code good OO to some qualified extent. I can't help wondering, what
you think a "real programmer" is.
[color=blue]
> then went to Zend (<http://www.zend.com/zend/tut/tutorial-wong4.php>)
> and starts another thread there badly criticizing the author (Benson[/color]
I didn't see the criticism he levelled at Wong (was it in here, or on Zend.com?),
so I can't comment on it in particular; I would say, however, that many different
philosophies of software development exist, and just because one is different to
another doesn't necessarily make either of them wrong. Personally, I would never
use most of the code examples given in the various online tutorials I have
seen, as most of them don't live up to my idea of what consitutes robust,
clean code.
[color=blue]
> Wong). Then, he again came back to comp.lang.php and starts the[/color]
I'm not aware of the precise timescale, but I do know that 1 - Tony started the
thread, which lasted a long time; 2 - I revived it with some general comments
on OO and software design goals in general. I don't think this counts as
"coming back", and I'm also curious as to what this represents in the bigger
scheme of things, as far as reprehensible behaviour is concerned.
[color=blue]
> "argument" which is not of course a "discussion ". Now, who is[/color]
I think you'll find it was a bit of both. Yes, there were barbed comments
flying in all directions as attacks on techniques and ideas turned into
attacks on the holders of the ideas (ad hominem). On the flip side,
there was a good deal of healthy debate on the pros and cons of OO design
patterns, on PHP OO, and on the use of OO in general. I would imagine that
many people benefitted from reading a wide variety of viewpoints and opinions,
allowing them to form their own, rather than just parroting the words of others.
I think that is a healthy thing, even if it did mean some bad blood.
[color=blue]
> rubbish??[/color]
OK, that was just childish. Isn't this the kind of language you are deprecating
in your post?
[color=blue]
>
> I really appreciate André Næss for his patience. I don't think[/color]
I don't think that Andre, Tony, I or any of the many people who contributed to
the threads involved exemplified patience. I for one have rapidly put fingers
to keyboard in a fit of rage, digust or just plain confusion at what
$SOME_OTHER_PER SON has written, and I suspect the others are the same. The main
reason Andre contributed so heavily to the threads in question, is that he disagreed
strongly with Tony's views, just as Tony disagreed with his.
[color=blue]
> anyone will respect a person who stupidly mess with a regular
> contributor.[/color]
OK. How long have you been reading this group? Just to recap, the original thread
was started by Tony, who stated that he had posted a basic, beginner-oriented
tutorial on creating classes in PHP. The "messing" then followed, mostly in
the form of criticism of Tony's design decisions. So that would indicate that
Andre was messing with Tony. It's also interesting to note, that the chief original
critiscm of the tutorial, was that adding methods to handle paged output of data
records (through mysql's "limit" clause) was "bad OO" (I don't really agree with
this), rather than on how helpful the tutorial was for beginners to PHP OO.
Andre and Tony are (were at least) regular contributors to this group. I also used
to be, and I have noticed that the names seem to have changed lately. Nonetheless,
regular contributions to a newsgroup/discussion list/chatroom do not make someone
an expert on all things, to be respected blindly with adoration. Anyone who has read
CSS-Discuss will be aware of one particular poster, whose comments generally tend towards
the limit case "Your fonts are too small".
You should respect someone because what they say is interesting, thought-provoking, or
simply plain helpful. Virtually all of the contributors to this thread (in its various
incarnations) qualify by this criterion. Personally, I respect both Tony's and Andre's
views and expertise. I have different views to both of them, and I'm pretty sure I code
differently to the way they use (I know this for a fact in Tony's case, since I have seen
a large body of his code).
I do agree that maybe the rebuttal Tony posted was a little strongly worded at times, but
I do think he has a right to say the things he did, and many of them I find valid. I disagree
with some of them, but that's because I see things differently. I'm a different person
after all, with the ability to form my own opinions and ways of working.
I enjoy dicussing matters with others who hold different opinions to mine; and this is how
people grow and develop new ideas. I would hate to think that a lively discussion on software
design could be stopped just because someone has made newcomers frightened of offending
R. Rajesh Jeba Anbiah wrote:
[color=blue]
>
> A person starts a thread, asking comments about his OO tutorial.
> Many real programmers here refuse to accept his code as good OO. He[/color]
Many other real programmers found the code acceptable, still more found
his code good OO to some qualified extent. I can't help wondering, what
you think a "real programmer" is.
[color=blue]
> then went to Zend (<http://www.zend.com/zend/tut/tutorial-wong4.php>)
> and starts another thread there badly criticizing the author (Benson[/color]
I didn't see the criticism he levelled at Wong (was it in here, or on Zend.com?),
so I can't comment on it in particular; I would say, however, that many different
philosophies of software development exist, and just because one is different to
another doesn't necessarily make either of them wrong. Personally, I would never
use most of the code examples given in the various online tutorials I have
seen, as most of them don't live up to my idea of what consitutes robust,
clean code.
[color=blue]
> Wong). Then, he again came back to comp.lang.php and starts the[/color]
I'm not aware of the precise timescale, but I do know that 1 - Tony started the
thread, which lasted a long time; 2 - I revived it with some general comments
on OO and software design goals in general. I don't think this counts as
"coming back", and I'm also curious as to what this represents in the bigger
scheme of things, as far as reprehensible behaviour is concerned.
[color=blue]
> "argument" which is not of course a "discussion ". Now, who is[/color]
I think you'll find it was a bit of both. Yes, there were barbed comments
flying in all directions as attacks on techniques and ideas turned into
attacks on the holders of the ideas (ad hominem). On the flip side,
there was a good deal of healthy debate on the pros and cons of OO design
patterns, on PHP OO, and on the use of OO in general. I would imagine that
many people benefitted from reading a wide variety of viewpoints and opinions,
allowing them to form their own, rather than just parroting the words of others.
I think that is a healthy thing, even if it did mean some bad blood.
[color=blue]
> rubbish??[/color]
OK, that was just childish. Isn't this the kind of language you are deprecating
in your post?
[color=blue]
>
> I really appreciate André Næss for his patience. I don't think[/color]
I don't think that Andre, Tony, I or any of the many people who contributed to
the threads involved exemplified patience. I for one have rapidly put fingers
to keyboard in a fit of rage, digust or just plain confusion at what
$SOME_OTHER_PER SON has written, and I suspect the others are the same. The main
reason Andre contributed so heavily to the threads in question, is that he disagreed
strongly with Tony's views, just as Tony disagreed with his.
[color=blue]
> anyone will respect a person who stupidly mess with a regular
> contributor.[/color]
OK. How long have you been reading this group? Just to recap, the original thread
was started by Tony, who stated that he had posted a basic, beginner-oriented
tutorial on creating classes in PHP. The "messing" then followed, mostly in
the form of criticism of Tony's design decisions. So that would indicate that
Andre was messing with Tony. It's also interesting to note, that the chief original
critiscm of the tutorial, was that adding methods to handle paged output of data
records (through mysql's "limit" clause) was "bad OO" (I don't really agree with
this), rather than on how helpful the tutorial was for beginners to PHP OO.
Andre and Tony are (were at least) regular contributors to this group. I also used
to be, and I have noticed that the names seem to have changed lately. Nonetheless,
regular contributions to a newsgroup/discussion list/chatroom do not make someone
an expert on all things, to be respected blindly with adoration. Anyone who has read
CSS-Discuss will be aware of one particular poster, whose comments generally tend towards
the limit case "Your fonts are too small".
You should respect someone because what they say is interesting, thought-provoking, or
simply plain helpful. Virtually all of the contributors to this thread (in its various
incarnations) qualify by this criterion. Personally, I respect both Tony's and Andre's
views and expertise. I have different views to both of them, and I'm pretty sure I code
differently to the way they use (I know this for a fact in Tony's case, since I have seen
a large body of his code).
I do agree that maybe the rebuttal Tony posted was a little strongly worded at times, but
I do think he has a right to say the things he did, and many of them I find valid. I disagree
with some of them, but that's because I see things differently. I'm a different person
after all, with the ability to form my own opinions and ways of working.
I enjoy dicussing matters with others who hold different opinions to mine; and this is how
people grow and develop new ideas. I would hate to think that a lively discussion on software
design could be stopped just because someone has made newcomers frightened of offending
Comment