From: James Britt Date: 2004-08-12T23:53:50+09:00 Subject: Re: Interesting Ruby anomaly Anders K. Madsen wrote: > On Thu, 12 Aug 2004 19:06:27 +0900 > Jani Monoses wrote: > > >>>AbStruct >>>HasTrucked >>>MissTrucked >> >>grep -i struct /usr/share/dict/words >> > > > That wouldn't give you anything with "truck" and "abstruct"/"abstract" > wouldn't turn up either... > > >>beat this :) > > > Why would I? I never thought this was a competition... > > I'm very impressed that you can use grep and the case-insensitive switch > to search in an ASCII-file, but I fail to see where the humour comes > in... Sorry. :-\ I'm pretty sure that "beat this" was a facetious, not serious, challenge. But, as this branch of the thread careens into total foolishness, I would award more game [0] points for names that manage to avoid any direct reference to the literal string 'struct', yet still convey some twisted spin on the original name. James [0] The game being, "Give Hal far more alternative names than he would ever want to even remotely consider." Maybe Ruby could use a Facetious module, so that one could write code using :), :-O, and so on, and the interpreter would know to not *really* execute the line. Just "sort of" execute it. # But in the meantime ... %w< :) :/ :} >.each { |grin| puts(grin) }