hmmm

Monday, June 07, 2004, at 07:47PM

By Eric Richardson

I just realized that I had 13 files open in one vim session. I think maybe at that point you're supposed to realize that, hey, there's a world outside of this terminal window. At least I'm not using emacs, though. Then I'd probably just boot straight into it and never leave.

I was looking through the eThreads code tonight, as part of my rewrite. I found stuff in the core that I didn't even know was there, which is kind of crazy when you consider that I wrote it all. That's what happens, though, when you write something over the course of 6 years. According to this history I did in 2002, the last ground up rewrite before these last few weeks was in 1999. Granted, a lot of the code has changed since then, particularly with the work I did in late 2001 / early 2002, but the major pieces were put in place in '99.

And yet, with all this revision, I still beat myself up with things like:

my @f = $content =~
    m!\G
        (?:
            {(/?)(\w[\w\.]*\w)(?:\s+(?:"([^"]+)"|([^}]+)\s+))?\s*(/?)}
            | (.*?)(?:(?={[\w/])|$)
        )
    !gisx;

Mmmm... Regular expression fun.