Java is a new object-oriented programming language that was developed by Sun Microsystems for programming the Internet and intelligent appliances. In a very short time it has become one of the most widely used programming languages for education as well as commercial applications.Design patterns, which have moved object-oriented programming to a new level, provide programmers with a language to communicate with others about their designs. As a result, programs become more readable, more reusable, and more easily extensible.In this book, Matthias Felleisen and Daniel Friedman use a small subset of Java to introduce pattern-directed program design. With their usual clarity and flair, they gently guide readers through the fundamentals of object-oriented programming and pattern-based design. Readers new to programming, as well as those with some background, will enjoy their learning experience as they work their way through Felleisen and Friedman's dialogue.
介绍java中实现面向对象的基本元素 通过一些列的问题比如:每个类里面方法过多导致代码难懂(基本上就是继承的问题),太多类似的代码,通过里面java里面提供一些语言规则实现了一个visitor模式以及不断的精确来解决,赞!
評分太囉嗦瞭
评分看瞭兩章,看不下去瞭。。。
评分太囉嗦瞭
评分看瞭王垠的博客找來看,大緻瞭解瞭visitor pattern是怎麼推齣來的,沒有仔細推敲,碰到再去找詳細的資料看……反正給我的感覺就是相當麻煩,一切都是源於Java把所有東西都當對象,函數沒法直接當參數傳。換成js能少一堆類啊超類啊抽象類啊接口啊亂七八糟的,當然js也有它自己的問題……繞這麼多彎的核心思想就是把各種稍微有那麼一點點不同的東西放一起,萬一要改的時候不怕漏。
评分很好..
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有