Skip to content

Instantly share code, notes, and snippets.

View druttka's full-sized avatar

David Ruttka druttka

View GitHub Profile
// I described the thought processes (SOLID violations, which to fix, how and why)
// in my post at http://thedevstop.wordpress.com/2013/03/07/roy-osheroves-solid-katastring-calculator-redux/
// Note that I did this in LINQPad and so instead of NUnit tests, I dumped failures
// If I was to do this again, I'd either do it in VS with a test runner.
void Main()
{
var parser = new IntsFromCommaSeparatedString();
var none = parser.Parse("").ToArray();
@druttka
druttka / robot.js
Created December 3, 2012 16:45
CodeFist
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {};
var target = null;
var intelAge = 0;
function log1(value, caption)
{