Robert Dober
2/8/2009 5:38:00 PM
On Sun, Feb 8, 2009 at 2:44 PM, David A. Black <dblack@rubypal.com> wrote:
>
> I'm not sure you need a "though"; that's essentially the point I was
> making :-)
Actually the 'though' was here because we do not agree on the special
usecase for #=== I am quite fond of, and I know that. But that was
quite cryptic for the rest of the world, sorry.
BTW it would help me a lot to understand better why my approach of
using #=== on well defined classes, Class and Regexp that is, does not
help to learn.
This is not about bad code or good code, because I will just not agree that
/===/ === "==="
is bad code ;). [ In my eyes this is probably the most beautiful LOC I
have *ever* written, LOL]
My question would go to the teacher as follows:
Would students not be curious about seeing an unfamiliar idiom? Is
that not often the motivation of posting questions on this list and
sometimes having quite interesting threads.
Funily I try to prove my assumption with this thread, sort of :).
If you feel this is too OT, never mind.
Thanx
Robert
--
It is change, continuing change, inevitable change, that is the
dominant factor in society today. No sensible decision can be made any
longer without taking into account not only the world as it is, but
the world as it will be ... ~ Isaac Asimov