# Class Definition # As a markdown document you can establish a dialog with *yourself* and other coders regarding design, thought process, and gotchas well before the implementation takes places.
Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.
For the best experience please use the latest Chrome, Safari or Firefox browser.
The practitioner of literate programming can be regarded as an essayist, whose main concern is with exposition and excellence of style.~ Donald Knuth. "Literate Programming (1984)"
# Markdown # Body of documented code ....# CoffeeScript Code ....class Code
# Class Definition # As a markdown document you can establish a dialog with *yourself* and other coders regarding design, thought process, and gotchas well before the implementation takes places.
# Class Definition # As a markdown document you can establish a dialog with *yourself* and other coders regarding design, thought process, and gotchas well before the implementation takes places. ## Implementation ## This class describes how this problem could be solved. class Implementation constructor: -> @init()
## Implementation ## This class describes how this problem could be solved. class Implementation constructor: -> @init() ### init ### A initialization method. _This is probubly not the best way to do this._ init: -> doSomethingAmazing() ### Singleton ### This implementation should be a singleton object. instance = null @getInstance: -> instance ?= new Implementation()
Use a spacebar or arrow keys to navigate