買這商品的人也買了...
-
$1,980$1,881 -
$792The Passionate Programmer: Creating a Remarkable Career in Software Development (Paperback)
-
$1,615Cracking the Coding Interview : 189 Programming Questions and Solutions, 6/e (Paperback)
-
$650$514 -
$500$250
相關主題
商品描述
Improve your coding skills and learn how to write readable code. Rather than teach basic programming, this book presumes that readers understand the fundamentals, and offers time-honed best practices for style, design, documenting, testing, refactoring, and more.
Taking an informal, conversational tone, author Michael Stueben offers programming stories, anecdotes, observations, advice, tricks, examples, and challenges based on his 38 years experience writing code and teaching programming classes. Trying to teach style to beginners is notoriously difficult and can easily appear pedantic. Instead, this book offers solutions and many examples to back up his ideas.
Good Habits for Great Coding distills Stueben's three decades of analyzing his own mistakes, analyzing student mistakes, searching for problems that teach lessons, and searching for simple examples to illustrate complex ideas. Having found that most learn by trying out challenging problems, and reflecting on them, each chapter includes quizzes and problems. The final chapter introduces dynamic programming to reduce complex problems to subcases, and illustrates many concepts discussed in the book.
Code samples are provided in Python and designed to be understandable by readers familiar with any modern programming language. At the end of this book, you will have acquired a lifetime of good coding advice, the lessons the author wishes he had learned when he was a novice.
What You'll Learn
- Create readable code through examples of good and bad style
- Write difficult algorithms by comparing your code to the author's code
- Derive and code difficult algorithms using dynamic programming
- Understand the psychology of the coding process
Who This Book Is For
Students or novice programmers who have taken a beginning programming course and understand coding basics. Teachers will appreciate the author's road-tested ideas that they may apply to their own teaching.
商品描述(中文翻譯)
改善您的程式碼技能,學習如何撰寫可讀性高的程式碼。本書並不教授基本的程式設計,而是預設讀者已經理解基礎知識,並提供經過時間考驗的最佳實踐,包括風格、設計、文件編寫、測試、重構等。
作者 Michael Stueben 採取非正式的對話語氣,分享基於他 38 年編寫程式碼和教授程式設計課程的經驗的程式設計故事、軼事、觀察、建議、技巧、範例和挑戰。對初學者教授風格是非常困難的,並且容易顯得教條化。相反,本書提供了解決方案和許多範例來支持他的想法。
《良好習慣,卓越編碼》提煉了 Stueben 三十年來分析自己錯誤、分析學生錯誤、尋找能夠教導的問題以及尋找簡單範例以說明複雜概念的經驗。經過發現大多數人是通過嘗試具有挑戰性的問題並進行反思來學習的,每一章都包含測驗和問題。最後一章介紹了動態規劃,以將複雜問題簡化為子案例,並說明書中討論的許多概念。
程式碼範例使用 Python 提供,旨在讓熟悉任何現代程式語言的讀者能夠理解。在本書結束時,您將獲得一生的良好編碼建議,以及作者希望在他還是新手時學到的課程。
您將學到的內容:
- 通過良好和不良風格的範例創建可讀性高的程式碼
- 通過將您的程式碼與作者的程式碼進行比較來編寫困難的演算法
- 使用動態規劃推導和編寫困難的演算法
- 理解編碼過程的心理學
本書適合對象:
已經修過初級程式設計課程並理解編碼基礎的學生或新手程式設計師。教師將會欣賞作者經過實踐檢驗的想法,並可應用於自己的教學中。