Skip to content

Instantly share code, notes, and snippets.

quickSort = (array) ->
if array.length <= 1
array
else
p = pickPivot array
values = splitArray p, array
lesser = quickSort values.lesser
greater = quickSort values.greater
(lesser.concat array[p]).concat greater
@daytoncleancoders
daytoncleancoders / inaugural-dcc.md
Created April 18, 2013 20:57
Inaugural Dayton Clean Coders

Inaugural Dayton Clean Coders

January 17, 2012 - Written by cromwellryan

Wow! Just wow!

Today was the inaugural Dayton Clean Coders hosted by [SparkBox][8] at their awesome office in the Oregon District. I brought the cheese, but the Robs helped soften the post-[CodeMash][9] bacon withdrawal with some amazing bacon burgers. Thanks guys!

Now how is this for some awesome-sauce… 16 coders from little ol’ Dayton came together to practice their craft using Try-Jasmine, Ruby, and C#. They came with only a few days notice on Twitter. Kudos everyone.

How we roll…
@daytoncleancoders
daytoncleancoders / software-craftsman.md
Last active December 16, 2015 09:49
Becoming a Software Craftsman

Becoming a Software Craftsman

April 10, 2012 - Written by Tim Larson

The Greene. It reminds me of Atlantic Station in midtown, Atlanta, where I used to live – a pedestrian-friendly, self-contained area where you can ‘live, work, and play.’ I always enjoy visiting The Greene, whether to get a few hours of work in at Caribou, visit MacTown, or meet with some friends for a drink or a meal. So it was no hardship for me to visit The Greene for a recent episode of Dayton Clean Coders.

After picking up some lunch at Chipotle, we headed upstairs to Little Lines, where the office is as elegant as the websites they create. We sat down at the conference table in the open foyer, and after chatting for a few minutes, we split up into three groups and got started.

Before we continue, I need to fill you in on some of my background. Not very long ago, I was

@daytoncleancoders
daytoncleancoders / numberToLCD.rb
Created April 16, 2013 19:08
Tim and Rob's solution to the number to LCD kata in Ruby.
class InvalidIntegerError < RuntimeError
end
class NumberToLCD
@numbers = {
"1" => [" ",
" |",
" |"],
"2" => [" _ ",