Your Code as a Crime Scene, Second Edition: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs
暫譯: 你的程式碼如同犯罪現場,第二版:運用取證技術逮捕程式中的缺陷、瓶頸與糟糕設計
Tornhill, Adam
- 出版商: Pragmatic Bookshelf
- 出版日期: 2024-03-12
- 售價: $2,260
- 貴賓價: 9.5 折 $2,147
- 語言: 英文
- 頁數: 336
- 裝訂: Quality Paper - also called trade paper
- ISBN: 9798888650325
- ISBN-13: 9798888650325
-
相關分類:
程式語言、資訊安全、軟體工程
海外代購書籍(需單獨結帳)
商品描述
Jack the Ripper and legacy codebases have more in common than you'd think. Inspired by forensic psychology methods, you can apply strategies to identify problems in your existing code, assess refactoring direction, and understand how your team influences the software architecture. With its unique blend of criminal psychology and code analysis, Your Code as a Crime Scene arms you with the techniques you need to take on any codebase, no matter what programming language you use.
Software development might well be the most challenging task humanity ever attempted. As systems scale up, they also become increasingly complex, expensive to maintain, and difficult to reason about. We can always write more tests, try to refactor, and even fire up a debugger to understand complex coding constructs. That's a great starting point, but you can do so much better.
Take inspiration from forensic psychology techniques to understand and improve existing code. Visualize codebases via a geographic profile from commit data to find development hotspots, prioritize technical debt, and uncover hidden dependencies. Get data and develop strategies to make the business case for larger refactorings. Detect and fix organizational problems from the vantage point of the software architecture to remove bottlenecks for the teams.
The original Your Code as a Crime Scene from 2014 pioneered techniques for understanding the intersection of people and code. This new edition reflects a decade of additional experience from hundreds of projects. Updated techniques, novel case studies, and extensive new material adds to the strengths of this cult classic.
Change how you view software development and join the hunt for better code!
What You Need:
You need to be comfortable reading code. You also need to use Git (or Subversion, Mercurial or similar version-control tool).
商品描述(中文翻譯)
杰克開膛手與遺留代碼庫之間有著你想不到的共同點。受到法醫心理學方法的啟發,你可以應用策略來識別現有代碼中的問題,評估重構方向,並了解你的團隊如何影響軟體架構。透過《Your Code as a Crime Scene》這本書獨特的犯罪心理學與代碼分析的結合,讓你掌握應對任何代碼庫所需的技術,無論你使用什麼程式語言。
軟體開發可能是人類所嘗試過的最具挑戰性的任務。隨著系統的擴展,它們變得越來越複雜,維護成本也越來越高,並且難以理解。我們總是可以撰寫更多的測試,嘗試重構,甚至啟動除錯器來理解複雜的編碼結構。這是一個很好的起點,但你可以做得更好。
從法醫心理學技術中獲取靈感,以理解和改善現有代碼。通過提交數據的地理概況來可視化代碼庫,以找到開發熱點,優先處理技術負債,並揭示隱藏的依賴關係。獲取數據並制定策略,以為更大規模的重構提供商業案例。從軟體架構的角度檢測和修復組織問題,以消除團隊的瓶頸。
2014年出版的《Your Code as a Crime Scene》開創了理解人與代碼交集的技術。這一新版本反映了來自數百個項目的十年額外經驗。更新的技術、新穎的案例研究和大量新材料增強了這本經典之作的優勢。
改變你對軟體開發的看法,加入尋找更好代碼的行列吧!
你需要的條件:
你需要對閱讀代碼感到舒適。你還需要使用 Git(或 Subversion、Mercurial 或類似的版本控制工具)。