Frank (ljtourist) wrote,
Frank
ljtourist

  • Mood:
  • Music:

*smack* Of course!

I've been reading elfs's LJ for some time now. For those that don't know, he's a particularly prolific writer (mostly pansexual SF stories). He often posts about various go-arounds he has with his Muse (<--- some links NSFW). Tonight, he linked to an article called Thomas Sullivan's One Night In The Life of an Author. Upon reading that, I understood: there is no reason at all to believe that Muses are limited to literature. I now understand that I have a code Muse.

At work, there's this particular wonderful project I'm working on where I've been stuck in the design phase (due to external resource constraints) for some time. Since it looks like forward progress will be made in the next day or two, I decided to work all day on actually implementing the first set of changes that I want to make so they'll be ready to test when those resources become available.

Nothing happened.

Even though I've been planning this for months, and consequently have a document two pages long (in tiny type) full of detailed changes I wanted to make, now that I have the chance to turn them into code, I could not make it go. Grr.

My Muse wanted nothing to do with separating the two state machines, or fixing the parser. No. It wanted to micro-optimize the code. Because if you're going to program, obviously you should optimize, then debug, and only then make sure the code does what you want. Right? :-/

On the other hand, I did eliminate 150-250 bytes and 3 branches from the per-connection path, and 40 bytes and 1 branch from the per-packet code, at the same time as I fixed 4 bugs. So there is an upside.
Subscribe

  • Score!

    For some time, I've been researching different ways to improve my living space. One specific aspect was the high level of dust that my apartment…

  • State of my world

    I'm doing OK. My extended vacation is generally agreeing with me as much as I hoped, although it has only been this month that I've really had some…

  • The perspective that time naturally brings...

    For any number of years at my job I had one technical wish: to never, ever again have to find a bug and then say "wait, how did this ever work?"…

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments