相關主題
商品描述
The best way to learn design in any field is to study examples, and some of the best examples of software design come from the tools programmers use in their own work. Software Design by Example: A Tool-Based Introduction with Python therefore builds small versions of the things programmers use in order to demystify them and give some insights into how experienced programmers think. From a file backup system and a testing framework to a regular expression matcher, a browser layout engine, and a very small compiler, we explore common design patterns, show how making code easier to test also makes it easier to reuse, and help readers understand how debuggers, profilers, package managers, and version control systems work so that they can use them more effectively.
This material can be used for self-paced study, in an undergraduate course on software design, or as the core of an intensive weeklong workshop for working programmers. Each chapter has a set of exercises ranging in size and difficulty from half a dozen lines to a full day's work. Readers should be familiar with the basics of modern Python, but the more advanced features of the language are explained and illustrated as they are introduced.
All the written material in this project can be freely reused under the terms of the Creative Commons - Attribution license, while all of the software is made available under the terms of the Hippocratic License. All proceeds from sale of this book will go to support the Red Door Family Shelter in Toronto.
Features:
- Teaches software design by showing programmers how to build the tools they use
every day
- Each chapter includes exercises to help readers check and deepen their understanding
- All the example code can be downloaded, re-used, and modified under an open license
商品描述(中文翻譯)
學習任何領域的設計最好的方法是研究實例,而在軟體設計方面,一些最佳的範例來自程式設計師在自己的工作中使用的工具。因此,《以Python為例的軟體設計:基於工具的入門》建立了程式設計師使用的工具的簡化版本,以揭開神秘面紗,並提供一些有關經驗豐富的程式設計師思考方式的見解。從檔案備份系統和測試框架到正則表達式匹配器、瀏覽器佈局引擎和非常小的編譯器,我們探索常見的設計模式,展示如何使程式碼更易於測試也更易於重用,並幫助讀者了解調試器、性能分析器、套件管理器和版本控制系統的工作原理,以便更有效地使用它們。
這份資料可以用於自主學習,作為軟體設計的大學課程,或作為為期一週的專門研討會的核心內容,針對工作中的程式設計師。每個章節都有一系列的練習,從幾行程式碼到一整天的工作,大小和難度各不相同。讀者應該熟悉現代Python的基礎知識,但隨著介紹,更高級的語言特性也會被解釋和說明。
本項目中的所有文字材料都可以根據創作共用-署名許可條款自由重複使用,而所有軟體則根據希波克拉底許可條款提供。本書的銷售收益將全數用於支持多倫多的紅門家庭收容所。
特點:
- 通過展示程式設計師如何建立他們每天使用的工具,教授軟體設計
- 每個章節都包含練習,幫助讀者檢查和加深他們的理解
- 所有範例程式碼都可以根據開放許可證進行下載、重複使用和修改
作者簡介
Dr. Greg Wilson is a programmer, author, and educator based in Toronto. He co-founded and was the first Executive Director of Software Carpentry, which has taught basic software skills to tens of thousands of researchers worldwide, and has authored or edited over a dozen books (including two for children). Greg is a member of the Python Software Foundation and a recipient of ACM SIGSOFT's Influential Educator of the Year award.
作者簡介(中文翻譯)
Dr. Greg Wilson是一位位於多倫多的程式設計師、作家和教育家。他共同創辦並擔任了Software Carpentry的首位執行董事,該組織已向全球數以萬計的研究人員教授了基本的軟體技能。他還撰寫或編輯了十多本書籍(其中包括兩本兒童書籍)。Greg是Python Software Foundation的成員,並獲得了ACM SIGSOFT年度有影響力教育家獎。