David Vallner wrote:
Robert Klemme wrote:
dangerous.
<rant>
Aaactually, yes, they/we do. The Ruby way presumes reasonably skilled
coders, not going overboard on clobbering , sufficient documentation,
and test coverage. After having seen my odd share of undocumented,
untested messes (usually cobbled together by generations of interns)
that are *barely* maintainable -with- the security blanket of type
checks, tool support, and no possibility of out-of-sight clobbering
changes, I pray /those people/ don't discover Ruby with me having to set
eyes on their code.
<rant>
I'm with David Vallner on this.
I've had to deal with a vast number of "messes" in too many languages to
mention, so this isn't a Ruby-specific phenomenon. Ruby simply adds one
more unique way to shoot yourself in the foot (I refer specifically to
the open classes). Speaking of shooting feet, if you haven't seen it,
there is an old but hilarious list of ways to shoot yourself in the foor
with <some programming language>:
http://www-users.cs.york.ac.uk/susan/joke/foot.htm
I don't know if Ruby has an entry for this somewhere on the Internet.
How about a Ruby Quiz for the funniest way to shoot yourself in the foot
with Ruby?
James Gray wrote:
I'm with Ruby's natural tendency on this issue: trust the programmer.
Sorry, but I don't think it's enough to trust the programmer - at least,
most of them. For every thoughtful, careful, circumspect programmer out
there, there are 100 or more clueless, undisciplined, lazy, and/or just
plain stupid programmers (of course none of the people on this forum
fall into this category ![]()
I'm not Ruby-bashing. I think Ruby is great, and consider it in general
to be the best language I have worked with; it's certainly the most
enjoyable to use.
I just don't look forward to having to debug some horribly-written Ruby
code that is doing something bizarre because someone thought they were
clever and added something inadvisable to some core class somewhere. I
have seen this kind of thing way too often (I have seen, for example,
standard C library header files in /usr/include modified to make
something work in a project, then the whole application stop working
when the header file was overwritten when the OS (I think it was AIX)
got a patch kit.)
</rant>
···
--
Posted via http://www.ruby-forum.com/\.