入門書としては比較的ハードなつくりであり、徹底的にわかりやすい解説を行うよりも、プログラミングにおける重要な技法や作法を伝えることに重点を置いている。コメントの書き方や変数の名前の付け方といった初歩的なことから関数間での名前解決の手法やソリューション設計の要点など高度なものに至るまで、プログラマーが押さえておくべき知識が豊富に解説されている。著者の巧みな情報の選択と適切な題材、具体的なコードを使用した解説により、初歩的な内容から再帰呼び出し・オブジェクト指向などの高度な内容、そしてゲームなどの応用プログラムの開発にいたるまでの膨大な情報を300ページに収めることに成功している。コンピュータ書にしては薄めの本であるが、短い文章の中に濃厚なプログラミングのエッセンスが詰まっている。(斎藤牧人) --このテキストは、絶版本またはこのタイトルには設定されていない版型に関連付けられています。
登録情報
|
類似した商品から提示されたタグ(詳細)関連タグ(この商品に近い関連キーワード)を追加する++最初のタグになります
|
I can't give 5 stars to this book, because ther are a few typos in the book and the index does not always work the way I want it.
Again, this book is only for BEGINNERS. If you already know a lot about programming, you should get "Learning Python" or/and "Programming Python" instead.
1つ残念なのは、サンプルコード中で使用されているPython関数に対する
説明が若干抜けているので、導入した開発環境等でmanを参照しながらで
ないとサンプルコードの理解に苦しむこと。
個人的に気に入った点は、付録C参考情報に記載されている書籍紹介で
プログラミングを極めていく上でのバイブルになりそうな書籍が紹介されていていること。
Gauld makes it very clear that the book isn't designed to make the reader a Python expert, it is simply to get him or her up to speed on general programming ideas (e.g, loops, conditional statements, etc.), so that the reader can then move on to other books or tutorials (such as the Python tutorial on the included CD).
Overall, I think Gauld succeeds in his goal. There are other online resources with similar aims (the "How to think like a computer scientist" site comes to mind). But for those without constant internet access, this book is a great place to start. The complete novice would then be able to tackle something more substantial, such as /The Quick Python Book/ and/or /Learning Python/, or a book on another language (personally, I'd recommend they stick to Python for a while).
The book can certainly include more about how programmers solve problems and create useful tools. Introducing a collection of "tricks of the trade" would help here (e.g. the 'x = TRUE', 'while not TRUE' conditional statements used so ubiquitously aren't even mentioned). A chapter dedicated to simple algorithms would be nice as well (e.g. a sorting routine), and would make writing useful programs much easier for beginners. The large type and wide margins could be pared down a bit to include all of this without making a doorstop-like tome (a la wrox/"teach yourself" books).
With that said, there are some very good points in this book that make it a good choice. The book accomplishes its goal of "learn to program" using small, easily digested chapters that are quick reads. There are lots of examples and most importantly, examples of larger programs that are actually fun to write and modify (like the hangman prog.) One of the most helpful chapters for me was the chapter "Designing a solution", aimed at getting a larger project going. Additionally, the book presents essential (but often overlooked) chapters on debugging and programming style.
As it stands, the book provides a solid foundation for the more comprehensive books (e.g. Kernighan and Ritchie's "the C programming language"). With a few touchups this book could become an essential introduction to programming.
Especially strong in the introduction of Object programming, the author excels at terse yet appropriate code examples.
I'm recommending this book to everyone I know.
|