From: Pat Maddox Date: 2007-03-29T15:36:57+09:00 Subject: Re: code too hashy, I think On 3/28/07, Giles Bowkett wrote: > > > Thing is, there were elements on each line which affected not the > > > lines themselves but the groups those lines were part of, and to > > > collect those, I resorted to an additional hash. So I ended up with a > > > hash of Structs, indexed by group ID, and a hash of collected > > > elements, also indexed by group ID. > > > > Any chance you could show us some trivial example data (just ten > > lines or so is fine and we only need the key fields) and how you want > > to access it. We might have better ideas when we see the specifics... > > I think there's no harm in that. Should be able to this evening. > > Since starting this thread, I've looked at another developer's code > and seen very plainly that they were writing Python before they > started writing Ruby. It'd be nice to make my Ruby so idiomatic that > people didn't believe me when I told them I knew other languages. Kind > of like learning to speak a foreign language with a perfect accent. My Ruby is super sexy. Just thought I'd throw that in there. If you want to form a shrine for me, I won't object. Pat