Wednesday, 12 March 2014

goto hell;

A lot has been made of the recent goto fail; issue on multiple Apple platforms, some of it disappointingly ill informed, especially in the comment sections.

goto is evil, you see. Possibly even eve-yil. Except it isn't, at least not always. There is a perfectly acceptable C idiom when goto is a good choice.

Monday, 10 June 2013

Code complexity

A comment from Dennis in my last blog brought up the subject of refactoring to reduce complexity.

It's not until you make a concerted effort to reduce code complexity that you begin to get a real feel for just how much bad coding practices lead to poor code.  It's pretty normal when starting out that you write code with no thought for maintainability or complexity. In fact as a noob you'll have no idea what complexity is. And like all bad habits that we get into when starting out, it takes concerted effort to change.

Wednesday, 15 May 2013

Readable code

I'vebeen a         memberof  my library sinceIwas
4
years
 old.I guess
   that 'swhy ,I value readabilityveryhighlyand get a    little upset   if.   There are whole sale abuses of agreed typographicnorms.

I'll try that again. I've been a member of my library since I was 4 years old. I guess that's why I value readability very highly and get a little upset if there are wholesale abuses of agreed typographic norms.

Tuesday, 14 May 2013

On Usability

See that 'About Me' box? Ridiculously over-engineered.

I wanted to add a link to the box yesterday and gave up in frustration. Oh, I knew that I could add the link directly by modifying the HTML directly, and that's no biggie, but I was looking for a way to do it using the provided editing tools.

Monday, 13 May 2013

The Connacht Clan iOS App


It's pretty demoralising to wake up at 7am and the first thing you see is a rejection email from the App Store. But that's what I got for deciding to write an App in the first place. My own fault really.