Skip to content

Instantly share code, notes, and snippets.

Avatar

Ryan Cook cookrn

View GitHub Profile
View things-i-believe.md

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@ahoward
ahoward / conducer.rb
Created Apr 10, 2012
sketching out a high level explanation of dao's conducer: presenter X conductor
View conducer.rb
# -*- encoding : utf-8 -*-
#
# conducers combine the presenter pattern with the conductor pattern. they
# can present and conduct an arbitrary number of models. they can also unify
# models with api calls and other non-persisted data in way that supports
# restufl interfaces, validations, form helpers, etc. consider conducers and
# being 'conductive to' writing web applications: you can prepare arbirtray
# data for the view and serialize arbirtray data out of it into a data store.
#
# to your controllers and views a conducer looks *just like a model* except
View damn-you-tim.rb
LETTERS = "abcdefghijklmnopqrstuvwxyz".split('')
def base_alpha_26(int)
num = int
letters = []
i = 0
i += 1 until 26**i > int
while (i -= 1) >= 0;