Showing posts with label code. Show all posts
Showing posts with label code. Show all posts

September 23, 2013

Good morning

Stack trace and a cup of coffee, for the rest of the world - good morning.

August 06, 2013

brute force refactoring is slashing for 4 hours and then sweeping up the remains and testing through blood, sweat and tears for the rest of the week

July 11, 2013

no refac

feels like a rubbish bin surgeon - adding a significant feature in a stinky code that will go down the toilet in one year

March 08, 2013

symmetrizing the reflection

It's ok to talk to your code, it's not ok if it starts replying.

January 03, 2013

best thing about programming is all the code you get to delete.

January 10, 2011

good code = NP

January 06, 2010

buggy ride

It's tempting to think that the current bump is the last obstacle and that thereafter you can turn the cruise control on.

October 29, 2008

Cruelest code ever

void ExecWithIO::kill_child()
{
  if (running() > 0) {
   int status = kill(child_pid, SIGKILL);
   if (status < 0) {
    std::cerr << "error " << strerror(errno) << " (" << errno
    << ") killing " << child_pid << std::endl;
    }
  }
}

//Just received the code from my supervisor - it has to deal with piping or smthn, but essentialy this method just got me rofling for a while :).