Category Archives: rants

Struggling… step back, take a different approach

I started a few weeks ago to write another post about working with RESTful services but I kept running into roadblocks.

Frustrating because the roadblocks weren’t on how to implement everything but rather on how to explain the different facets of implementation. For anyone who has actually followed my posts you hopefully know by now that I try to keep them short and simple (as much as possible).

I still think that writing an example for working with RESTful services can be simple. I just need to cover some of the other basics like Protocols and maybe even the use of NSNotificationCenter as an alternative.

It has taken me a couple of weeks to come to this decision but it’s nice to have some closure. I have been so irritated by the block that I have at times just refused work on it (even more frustrating).

So plan now is to work on supporting articles and then come back at the RESTful approach with those as support.

As always Happy Coding!!!

Sometimes sanity isn’t the best route

I saw the following post on twitter earlier this week:


I have to admit that my first response was of course all the time. Then afterwards it got me thinking about those times that I broke this rule.

Don’t look at me or tell me that you have never patched bad code.

We all have worked somewhere where there was this one class, function or piece of code that we dreaded working on and when we did it was precision strike. You know the drill:

Get in, get out and leave no trace behind that says you were there.

I worked this one job where a large part of what our software did was track the status that certain types of documents could be in. There was myself and a few other programmers that were aware of the process and rules for how these documents changed status and we always hated when customers or program managers wanted to “tweak” those rules.

We often talked about rewriting all that code and in some projects we actually attempted to schedule time for its work. In reality though it was the largest plate of spaghetti most of us had ever seen and each time we opted against it. Usually our excuse for not doing was always the same:

“If it ain’t broke, don’t fix it.”

If you google that phrase you will find hits all over the place about. So which famous engineer do we choose to associate this saying to? Amazingly this quote belongs to a business man by the name of Bert Lance who at the time was working for President Carter.

Please don’t take this to mean that I am supporting this type of thinking all the time. The whole idea of taking things that are “working” and changing them is a business model (disruptive technology) for so many of todays majorly successful companies.

Maybe for fun though I will tweet the following:

One of the quickest ways to break something is to fix it when it ain’t broken.

Later everyone and as usual happy coding!!!   =)