P
Peng Yu
The following thread shows many ways of reading a given number of
lines.
http://groups.google.com/group/comp...819866cb?lnk=gst&q=pengyu.ut#fe47580f819866cb
But I doubt that having multiple ways of doing the same thing really
give us any advantages over other languages. Essentially this can be
encapsulate in a subroutine, which is easy for refactoring and code
transformation.
Although, there might be advantages in other scenario to have multiple
ways of doing the same thing. But I don't think it is the case for the
particular question.
I know some justification that people could choose whatever style they
want if there are multiple ways of doing the same thing. But this
justification is not convincing to me, considering that it may cause
the code not readable and cause many maintenance issues.
Is there any study with concrete data demonstrates how this multiple-
way-of-doing-the-same-thing philosophy actually can help programmer
improve productivity?
Regards,
Peng
lines.
http://groups.google.com/group/comp...819866cb?lnk=gst&q=pengyu.ut#fe47580f819866cb
But I doubt that having multiple ways of doing the same thing really
give us any advantages over other languages. Essentially this can be
encapsulate in a subroutine, which is easy for refactoring and code
transformation.
Although, there might be advantages in other scenario to have multiple
ways of doing the same thing. But I don't think it is the case for the
particular question.
I know some justification that people could choose whatever style they
want if there are multiple ways of doing the same thing. But this
justification is not convincing to me, considering that it may cause
the code not readable and cause many maintenance issues.
Is there any study with concrete data demonstrates how this multiple-
way-of-doing-the-same-thing philosophy actually can help programmer
improve productivity?
Regards,
Peng