最近开始看《Head First设计模式》,想找下相关的代码什么的看看, 却发现中国××出版社的网站上毛都没有,没办法,只好远赴重洋Head First官方。《Head First设计模式》http://www.headfirstlabs.com/books/hfdp/,官方提供的资源还是蛮丰富的,详细如下:
- Download the Java code here (zip file).
The source files are in the src directory and the class files are in thebin directory. - Download the MVC song here.
- Download README.txt. This has all the command line run commands for each application, as well as helpful comments.
- Download the heatindex.txt file containing the heat index formula for the Weather Station in chapter 2.
- Download the test.txt file for chapter 3
- If you are using ant to compile the java files, you can download thebuild.xml file. (Make sure you name this file "build.xml" to use it with ant.)
- Download the code examples in C# here (hosted and supported byMark McFadden).
- Download the code examples in C++ here (created and supported by Glenn Puchtel).