Subscribe RSS

Fleeblewidget

Home » Uncategorized » Insomnia Post 2 – The Joy of Not Writing Code

Insomnia Post 2 – The Joy of Not Writing Code

Monday 13th July 2015 Filled under Uncategorized
No Comments

So once again I can’t sleep (despite the 3.75mg of Zopiclone flowing uselessy through my veins). After a few fruitless hours of lying in bed, I got up. I intended to read a book, but instead I got to thinking about a prototype I’d been wanting to build.

One thing led to another and now it’s 2ish and I’m sitting in a quiet house furiously churning out code. Because I just started building, I’m writing a lot of config and glue and not all that much functionality. Which isn’t the fun part, as any non-weird programmer will tell you.

But I’m having a wonderful time. In my day job, I work with a creaky old (and generally hated) application written in very very old languages where you have to do an awful lot of kicking to squeeze out every drop of new functionality. For example, we have the functionality to email copies of certain pages to users as PDFs. This unexciting, really-ought-to-be-simple function is achieved using several different scripts in several different languages, a homemade asynchronous messaging system running on hackery and optimism, and an impressively unstable plugin of unknown age. It takes a good 15 minutes for the PDF to arrive.

I’m using Rails for my prototype. I could talk for days about my love of Rails, but I won’t, because I’m limiting how long I spend writing this so I can write more code 🙂

Anyway, I decided I wanted to use multiple-table inheritance, a slightly esoteric piece of design which I think is appropriate in this case. So I installed a gem, and now I have it. It cost me about half-a-dozen lines of config code and it Just Works.

You know what’s great about modern programming? All the shitty, repetitive, fragile, unmaintainable, dull code that we don’t have to write anymore.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

« Things I haven’t blogged about
Outsourced NHS Services – a review »
Recent Posts
  • Giving Birth II: Easy Does It
  • Things I haven’t blogged about
  • Insomnia Post 2 – The Joy of Not Writing Code
  • Outsourced NHS Services – a review
  • Insomnia
Recent Comments
  • The Ins and Outs of Debugging Ruby with Byebug (source from https://www.sitepoint.com/the-ins-and-outs-of-debugging-ruby-with-byebug/) | truongtuan97 on Byebug Cheatsheet
  • Giving Birth II: Easy Does It | Fleeblewidget on Natural childbirth – why oh why?
  • Ralph Shnelvar on Byebug Cheatsheet
  • Simon Fernandez on Byebug Cheatsheet
  • Simon Fernandez on Byebug Cheatsheet
Blogroll
  • Anachronistic friend
  • Boyfriend
  • Husband
  • Mysterious spy friend
  • Pervert friend
  • Proper scientist friend
  • Welsh hula-hooping friend
Archives
  • September 2017
  • March 2017
  • July 2015
  • June 2015
  • October 2014
  • July 2014
  • May 2014
  • April 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • February 2013
  • April 2012
Tags
apache employment gotchas personal sad tech trac
Fleeblewidget powered by WordPress and The Clear Line Theme