Well, I don't really know, but probably if it is not done the (only) right
way, it will not even compile anyway :), so there is no need to maintain
the database.
As an example, when we need an IF clause, there is really one way to do
it in Python:
if condition:
statement
In Ruby, we can have
if condition
statement
end
unless ! condition
statement
end
unless not condition
statement
end
statement if condition
etc. So, I guess in some sense, Ruby still has the Perl's "there is more
than one way to do it" influence.
Regards,
Bill
============================================================================
JamesBritt <james / jamesbritt.com> wrote:
> Still, that would make debugging easier: Just maintain a database of all
> code done the Right Way, and if your code doesn't match The One Way To Do
> It, then it's wrong.
> :)
> James