卓有成效的程序員(影印版)
出版時間:2009年12月
頁數(shù):206
任何一個以開發(fā)軟件為生的人都需要掌握一種經(jīng)過實踐檢驗的方法,來使自己工作得更好、更快、更高效?!蹲坑谐尚У某绦騿T》在“如何節(jié)省時間”方面提供了寶貴意見和實用工具,無論你使用何種平臺,都能立刻應(yīng)用于其中。大師級的開發(fā)者Neal Ford不僅提供了關(guān)于提高生產(chǎn)力的建議:如何更明智地工作,排除干擾,充分利用計算機(jī),以及避免重復(fù);同時他還詳細(xì)介紹了許多有價值的實踐經(jīng)驗,幫助你規(guī)避常見陷阱,改善代碼,從而為團(tuán)隊創(chuàng)造更大的價值。
你將學(xué)習(xí)到如何:
· 在寫代碼前先寫測試
· 一絲不茍地管理你的對象的生命周期
· 只做你現(xiàn)在必須要做的,而非你將來可能要做的
· 將古老的哲學(xué)應(yīng)用到軟件開發(fā)當(dāng)中
· 敢于質(zhì)疑權(quán)威,而不是盲目遵從標(biāo)準(zhǔn)
· 利用元編程,將困難轉(zhuǎn)為容易,化不可能為可能
· 確保同一方法中的所有代碼處于同一個抽象層面
· 選擇合適的編輯器,打造最佳工具組合
這些不是空泛的理論,而是Ford現(xiàn)實的經(jīng)驗成果。不論你是初學(xué)者還是富有多年經(jīng)驗的專家,《卓有成效的程序員》中簡單而直接的原則對你的工作和職業(yè)生涯都將有所裨益。
Neal Ford是全球IT咨詢公司ThoughtWorks的應(yīng)用軟件構(gòu)架師。他曾在美國和其他國家進(jìn)行實地授課,對象包括軍方和多家《財富》500強(qiáng)企業(yè)。
- FOREWORD
- PREFACE
- 1 INTRODUCTION
- Why a Book on Programmer Productivity?
- What This Book Is About
- Where to Go Now?
- Part One MECHANICS
- 2 ACCELERATION
- Launching Pad
- Accelerators
- Macros
- Summary
- 3 FOCUS
- Kill Distractions
- Search Trumps Navigation
- Find Hard Targets
- Use Rooted Views
- Use Sticky Attributes
- Use Project-Based Shortcuts
- Multiply Your Monitors
- Segregate Your Workspace with Virtual Desktops
- Summary
- 4 AUTOMATION
- Don’t Reinvent Wheels
- Cache Stuff Locally
- Automate Your Interaction with Web Sites
- Interact with RSS Feeds
- Subvert Ant for Non-Build Tasks
- Subvert Rake for Common Tasks
- Subvert Selenium to Walk Web Pages
- Use Bash to Harvest Exception Counts
- Replace Batch Files with Windows Power Shell
- Use Mac OS X Automator to Delete Old Downloads
- Tame Command-Line Subversion
- Build a SQL Splitter in Ruby
- Justifying Automation
- Don’t Shave Yaks
- Summary
- 5 CANONICALITY
- DRY Version Control
- Use a Canonical Build Machine
- Indirection
- Use Virtualization
- DRY Impedance Mismatches
- DRY Documentation
- Summary
- Part Two PRACTICE
- 6 TEST-DRIVEN DESIGN
- Evolving Tests
- Code Coverage
- 7 STATIC ANALYSIS
- Byte Code Analysis
- Source Analysis
- Generate Metrics with Panopticode
- Analysis for Dynamic Languages
- 8 GOOD CITIZENSHIP
- Breaking Encapsulation
- Constructors
- Static Methods
- Criminal Behavior
- 9 YAGNI
- 10 ANCIENT PHILOSOPHERS
- Aristotle’s Essential and Accidental Properties
- Occam’s Razor
- The Law of Demeter
- Software Lore
- 11 QUESTION AUTHORITY
- Angry Monkeys
- Fluent Interfaces
- Anti-Objects
- 12 META-PROGRAMMING
- Java and Reflection
- Testing Java with Groovy
- Writing Fluent Interfaces
- Whither Meta-Programming?
- 13 COMPOSED METHOD AND SLAP
- Composed Method in Action
- SLAP
- 14 POLYGLOT PROGRAMMING
- How Did We Get Here? And Where Exactly Is Here?
- Where Are We Going? And How Do We Get There?
- Ola’s Pyramid
- 15 FIND THE PERFECT TOOLS
- The Quest for the Perfect Editor
- The Candidates
- Choosing the Right Tool for the Job
- Un-Choosing the Wrong Tools
- 16 CONCLUSION: CARRYING ON THE CONVERSATION
- APPENDIX: BUILDING BLOCKS
- INDEX
書名:卓有成效的程序員(影印版)
國內(nèi)出版社:東南大學(xué)出版社
出版時間:2009年12月
頁數(shù):206
書號:978-7-5641-1924-9
原版書出版商:O'Reilly Media
Neal Ford
Neal Ford是Thoughtworks公司的總監(jiān)、軟件架構(gòu)師和meme wrangler。
The cover image is a stock photograph from Corbis.