Search This Blog

Monday, October 31, 2011

Nikhil Kothari's Weblog : Getting Started with Script#

link -> Nikhil Kothari's Weblog : Getting Started with Script#
Hello World with Script# - a 101-style walkthrough on authoring and deploying scripts compiled from c#, while using the HTML DOM APIs, XMLHttpRequest, and jQuery.
I downloaded and watched the Mix11 presentation. He showed launching tests server side that ran in the browser. That was pretty cool.

Tuesday, October 25, 2011

I Broke Your Code, And It's Your Fault

link -> I Broke Your Code, And It's Your Fault
Early in my career, I was afraid of making changes that could affect unexpected aspects of the system. My first job out of college, whenever I made changes, I'd read lots of code and was extra careful. Of course, nobody can ever be careful enough with this methodology, so I'd wind up breaking things. I'd feel awful for this, completely embarrassed. I'd panic and try to fix the code as quickly as possible, assuming my co-workers thought I was an idiot.
Today, I take the exact opposite approach: fearless refactoring. I refactor code without even the slightest bit of concern about the ramifications. If I break something, a test will let me know. If no test lets me know when I broke something, I don't feel embarrassed. I feel like someone else should be embarrassed.
Scary idea but maybe it makes sense

Wednesday, October 19, 2011

How To Produce Bug-Free Software

link -> How To Produce Bug-Free Software

Many are resigned to the fact that all software is destined to contain some “bugs”, but did you know it’s possible (and arguably pretty easy) to always produce “bug-free” software?

I think this was a long way of saying you need to write tests