2008-08-25から1日間の記事一覧

prototype.js分析 Enumerable

all() <script> Array.prototype._each = function(iterator){ for(var i=0, l=this.length; i

prototype.js分析 Enumerable

inject 使い方よくわかってないですが。。 <script> Array.prototype._each = function(iterator){ for(var i=0, l=this.length; i

prototype.js分析 Enumerable

要素をグループ化して処理を加える eachSlice() <script> Array.prototype._each = function(iterator){ for(var i=0, l=this.length; i

prototype.js分析 Enumerable

配列になんらかの処理を加える collect() <script> Array.prototype._each = function(iterator){ for(var i=0, l=this.length; i

prototype.js分析 Enumerable

全ての基本は _each() each() <script> Array.prototype._each = function(iterator){ for(var i=0, l=this.length; i

JavaScript目次

Prototype.js分析 Enumerable学習法 高階関数の魅力にとりつかれつつあるので、そのスタイルをモノにするべくEnumerableをそらで書けるようになるまでひたすら写経を繰り返す。使い方をよくわかっていないメソッドもあるがコードの流れを体で覚えてしまうの…

デザインパターン目次

GoF本の23パターン AbstractFactory Perl Builder Perl FactoryMethod Perl PHP5 Prototype Perl Singleton Perl Adaptoer Perl Perl(委譲を利用) Bridge Perl Composite Perl Decorator Perl Facade Perl Flyweight Proxy Chain of Responsibility PHP4,5 C…