The Art of Readable Code (Paperback)
暫譯: 可讀性程式碼的藝術 (平裝本)
Dustin Boswell, Trevor Foucher
- 出版商: O'Reilly
- 出版日期: 2011-12-20
- 定價: $1,900
- 售價: 8.8 折 $1,672
- 語言: 英文
- 頁數: 206
- 裝訂: Paperback
- ISBN: 0596802293
- ISBN-13: 9780596802295
-
相關分類:
Engineer self-growth
-
相關翻譯:
易讀程式之美學-提升程式碼可讀性的簡單法則 (The Art of Readable Code) (繁中版)
立即出貨 (庫存=1)
買這商品的人也買了...
-
$1,805Test-Driven Development: By Example (Paperback)
-
$3,360$3,192 -
$2,180$2,071 -
$1,362Fundamentals of Data Structures in C, 2/e (Paperback)
-
$1,558Introduction to Algorithms, 3/e (IE-Paperback)
-
$2,200$2,090 -
$580$458 -
$3,750$3,563 -
$620$490 -
$320$253 -
$1,980$1,881 -
$420$332 -
$720$562 -
$880$695 -
$480$379 -
$550$468 -
$2,660C++ Primer, 5/e (Paperback)
-
$580$458 -
$480$408 -
$580$458 -
$450$356 -
$360$281 -
$1,936Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems (Paperback)
-
$2,375Refactoring: Improving the Design of Existing Code, 2/e (Hardcover)
-
$1,995The Pragmatic Programmer: your journey to mastery, 2/e (20th Anniversary Edition) (Hardcover)
商品描述
As programmers, we've all seen source code that's so ugly and buggy it makes our brain ache. And let's be honest, we've all written code like that. With this book, you'll learn to write code that's easy to read and understand. You'll have more fun and your coworkers will love you.
The Art of Readable Code focuses on the nuts and bolts of programming, with simple and practical techniques you can use every time you sit down to write code. You'll find tips throughout the book, with easy-to-digest code examples, helpful illustrations, and cartoons for fun.
- Learn to pick variable names that are "dense with information"
- Organize your loops and conditionals so they're easy to understand
- Make your comments short and sweet
- Recognize when your code is doing too many things at once
- Write tests that are concise, but thorough
- Master the art of breaking hard problems into many smaller ones
商品描述(中文翻譯)
作為程式設計師,我們都見過那些醜陋且充滿錯誤的原始碼,讓我們的腦袋感到疼痛。老實說,我們也都寫過這樣的程式碼。透過這本書,你將學會撰寫易於閱讀和理解的程式碼。你會更享受編程的過程,而你的同事也會喜歡你。
《可讀性程式碼的藝術》專注於程式設計的基本要素,提供簡單且實用的技巧,讓你每次坐下來寫程式時都能使用。書中充滿了提示,並附有易於消化的程式碼範例、有幫助的插圖,以及有趣的漫畫。
- 學會選擇「資訊密度高」的變數名稱
- 組織你的迴圈和條件語句,使其易於理解
- 讓你的註解簡短而精煉
- 辨識你的程式碼是否同時做了太多事情
- 撰寫簡潔但全面的測試
- 精通將困難問題拆解成許多小問題的藝術