Instead of just writing your program in Lisp, you can write your own language on Lisp, and write your program in that.
It is possible to write programs bottom-up in any language, but Lisp is the most natural vehicle for this style of programming. In Lisp, bottom-up design is not a special technique reserved for unusually large or difficult programs. Any substantial program will be written partly in this style. Lisp was meant from the start to be an extensible language. [...]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def seats (-> (repeat 5000 nil) vec ref)) | |
(def clerks (repeatedly 10 #(agent 0))) | |
(defn available-indexes | |
"Given a sequence of seats, returns a (lazy) | |
sequence of the indexes of the available seats. | |
This is purely functional and doesn't know anything | |
about refs or agents" | |
[seats] | |
(keep-indexed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
function $CompileProvider($provide) { | |
var directives = {}; | |
this.directive = function(name, factory) { | |
if (!directives.hasOwnProperty(name)) { | |
directives[name] = [factory]; | |
$provide.factory( |
- Douglas Engelbart
- NLS: The oN-Line System
- The Mother of All Demos (100min, worth watching!)
- Books: The Dream Machine and Innovators
- Front-End Development Tooling
- Build tools: Grunt, Gulp
- Dependency Management: NPM, Bower
- Linting: JSHint, ESLint
- Transpiling: CoffeeScript, TypeScript, Traceur, 6to5
- CSS: Autoprefixer, [Stylus](http://learnboost.git
Igor Minar at ng-europe, October 23:
Once 2.0 is ready, then we’ll figure out what’s the best way to migrate. At this point we’re really trying to create the best 2.0 ever, and once we know what that is, we’ll go back and see what is the best migration path. Because if we run it the other way around, that would constrain what we can do with 2.0.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.config(['$provide', function($provide) { | |
// Add a method to $q that returns a promise resolved to | |
// the given value. Use as: $q.now(42) | |
$provide.decorator('$q', ['$delegate', function($delegate) { | |
$delegate.now = function(value) { | |
var d = $delegate.defer(); | |
d.resolve(value); | |
return d.promise; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Framework | |
function createInjector() { | |
var instanceCache = {}; | |
var providerCache = {}; | |
function constant(key, value) { | |
instanceCache[key] = value; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "names": [ "Anne", "Bette", "Cate", "Dawn", | |
"Elise", "Faye", "Ginger", "Harriot", | |
"Izzy", "Jane", "Kaye", "Liz", | |
"Maria", "Nell", "Olive", "Pat", | |
"Queenie", "Rae", "Sal", "Tam", | |
"Uma", "Violet", "Wilma", "Xana", | |
"Yvonne", "Zelda", | |
"Abe", "Billy", "Caleb", "Davie", | |
"Eb", "Frank", "Gabe", "House", | |
"Icarus", "Jack", "Kurt", "Larry", |
NewerOlder