As I mentioned Tuesday, I rewrote a major chunk of WristCoin, my Bitcoin price checker for the Pebble wristwatch. Now that I’m working with a far more modular design adding exchanges requires almost no effort at all. I to add in Bitfinex support:
It took me roughly ten minutes to do so (most of that time was invested in writing the JavaScript code that grabs the current prices and feeds them to the Pebble). So let me iterate a lesson that most developers have pounded into their heads but fail to follow: don’t start with quick and dirty code, start with quality code from the beginning. Mind you in all liklihood I will fail to follow this advice as soon as I start my next project. Getting a prototype up and running quickly is just so tempting and it feels so good.