The Software Alchemist

The difference between source code and text

I was reading “Three Reasons To Roll Your Own Mocks” by Josh Cheek earlier today. One point, somewhat tangental to the thrust of his argument, stood out to me. “When you make changes, many tests may break. Perhaps you change the name of a method that it invokes on its dependent object. Now you must [...]

The Perils of Prefactoring

I am increasingly aware of the danger of ‘prefactoring’. That is, stewing over the minute details of code design before just getting the thing to work.

Excited about variable names

I picked up a copy of Clean Code by Bob Martin the other day. Having only read the first few chapters, it’s already making a difference not only in how I code, but my whole attitude toward coding.

HTML5 Test Drive

I’ve read Hello HTML5 (or as much of it as is finished), and Mark Pilgrim’s excellent Dive Into HTML5. Time to give this a go… I now have a repository on GitHub for a simple form filling application making use of the local storage and offline application APIs. As of writing, I’m still feeling my [...]

That’s not Agile!

“We have come to value … Customer collaboration over contract negotiation” – The Agile Manifesto

Offline applications with HTML5

Like most web developers, I’ve recently been playing with HTML5 and CSS3. There’s an absolute ton of stuff to discover, but right now I’ll focus on the Offline Web Application aspect. The specifics of implementing offline applications are well documented elsewhere. But what isn’t often mentioned is how to discover the required files for your [...]

On the Metro

In December, I had the opportunity to attend a presentation by Albert Shum, the director of the Windows Mobile design team. He revealed the thought process behind the new Metro UI, used in Windows Phone and Zune, and why it’s such a radical departure from previous versions of Microsoft’s UIs. Having read a little about [...]

Becoming a JavaScript Ninja (the lesson)

While writing the about the book Secrets of the JavaScript Ninja, I came to a realization. OOP languages help in understanding JavaScript initially, but are damaging in the long term. Because the concepts from Java, C#, etc. are close to the concepts in JavaScript, they give a developer a ‘leg up’ when starting to understand [...]

Becoming a JavaScript Ninja (the book)

I’m reading Secrets of the Javascript Ninja by John Resig. I’d strongly recommend to most developers who do anything with the web that they should read this book. To be more precise… Developers who need to read this book: Anyone who has written basic JavaScript, but feels a little uncertainty about the phrases ‘closure’ or [...]

Building Awesome Apps for Windows 7

Went to the Building Awesome Apps for Windows 7 ‘community tour’ yesterday evening, hosted by Richard Campbell (of .NET Rocks! fame). This was basically a quick run through of what’s available in the Windows API Code Pack, with some hints as to how (and when) to implement the new bells and whistles available in Windows [...]