なるほどねこれはすごいや
⇒OOコード養成ギブス - rants
⇒Binstock on Software: Perfecting OO's Small Classes and Short Methods
コメントのこれはそうかな。
I guess such a 1000 lines project can easily be reduced to something like maybe 400 lines in a more usual, less constrained OO-way (one where you would allow the else keyword for example, or one where you would allow a loop in your method). That leads us to about 150 lines of Python, and even 80/100 lines of Lisp. Hey, the whole project now fits in one or two screens ! But of course, it does not look like hard work anymore...
ぶくま⇒はてなブックマーク - OOコード養成ギブス - rants
っていうか、実際にソースベースで解説してくれないとな的。
そういえば。
オブジェクト指向でなぜつくるのか―知っておきたいプログラミング、UML、設計の基礎知識―: 平澤 章 |
抽象的に思えた。これでわかる人いるんかいな的。