MARC状态:审校 文献类型:西文图书 浏览次数:81
- 题名/责任者:
- The art of readable code = 易读代码的艺术 / Dustin Boswell, Trevor Foucher著.
- 出版发行项:
- 南京 : 东南大学出版社, 2012.
- ISBN:
- 9787564134471 (pbk.)
- 载体形态项:
- x, 190 p. : ill. ; 24 cm.
- 变异题名:
- Pre-publication title: Art of coding.
- 变异题名:
- 易读代码的艺术
- 丛编说明:
- Theory in practice.
- 个人责任者:
- Boswell, Dustin.
- 附加个人名称:
- Foucher, Trevor.
- 论题主题:
- Computer programming.
- 论题主题:
- Coding theory.
- 中图法分类号:
- TP311.11
- 书目附注:
- Includes bibliographical references (p. 182-184) and index.
- 内容附注:
- Code should be easy to understand -- pt. 1. Surface-level improvements. Packing information into names ; Names that can't be misconstrued ; Aesthetics ; Knowing what to comment ; Making comments precise and compact -- pt. 2. Simplifying loops and logic. Making control flow easy to read ; Breaking down giant expressions ; Variables and readability -- pt. 3. Reorganizing your code. Extracting unrelated subproblems ; One task at a time ; Turning thoughts into code ; Writing less code -- pt. 4. Selected topics. Testing readability ; Designing and implementing a "minute/hour counter."
- 摘要附注:
- As programmers, we've all seen source code that's so ugly and buggy it makes our brain ache. Over the past five years, authors Dustin Boswell and Trevor Foucher have analyzed hundreds of examples of "bad code" (much of it their own) to determine why they're bad and how they could be improved. Their conclusion? You need to write code that minimizes the time it would take someone else to understand it -- even if that someone else is you. This book focuses on basic principles and practical techniques you can apply every time you write code. Using easy-to-digest code examples from different languages, each chapter dives into a different aspect of coding, and demonstrates how you can make your code easy to understand. Simplify naming, commenting, and formatting with tips that apply to every line of code; Refine your program's loops, logic, and variables to reduce complexity and confusion; Attack problems at the function level, such as reorganizing blocks of code to do one task at a time; Write effective test code that is thorough and concise, as well as readable. - Publisher.
- 原版附注:
- Reprint. Originally publshed: Sebastopol, Calif. : O'Reilly, c2011.
全部MARC细节信息>>