The Art of Clean Code: Best Practices to Eliminate Complexity and Simplify Your Life (Paperback)

Mayer, Christian

買這商品的人也買了...

相關主題

商品描述

Learn eight principles to simplify your code and become a more effective (and successful) programmer.

Most software developers waste thousands of hours working with overly complex code. The eight core principles in The Art of Clean Coding will teach you how to write clear, maintainable code without compromising functionality. The book's guiding principle is simplicity: reduce and simplify, then reinvest energy in the important parts to save you countless hours and ease the often onerous task of code maintenance.

Bestselling author Christian Mayer leverages his experience helping thousands perfect their coding skills in this new book. With expert advice and real-world examples, he'll show you how to:

 

  • Concentrate on the important stuff with the 80/20 principle -- focus on the 20% of your code that matters most
  • Avoid coding in isolation: create a minimum viable product to get early feedback
  • Write code cleanly and simply to eliminate clutter
  • Avoid premature optimization that risks over-complicating code
  • Balance your goals, capacity, and feedback to achieve the productive state of Flow
  • Apply the Do One Thing Well philosophy to vastly improve functionality
  • Design efficient user interfaces with the Less is More principle
  • Tie your new skills together into one unifying principle: Focus

  • The Python-based The Art of Clean Coding is suitable for programmers at any level, with ideas presented in a language-agnostic manner.

商品描述(中文翻譯)

學習八個原則,簡化你的程式碼,成為更有效率(且成功)的程式設計師。

大多數軟體開發人員花費了數千小時在過於複雜的程式碼上。《乾淨程式碼的藝術》中的八個核心原則將教你如何撰寫清晰、易於維護的程式碼,同時不影響功能。本書的指導原則是簡潔:減少和簡化,然後將能量重新投入到重要部分,節省無數小時並簡化繁重的程式碼維護任務。

暢銷作家Christian Mayer在這本新書中利用他幫助數千人完善編碼技能的經驗。通過專家建議和實際例子,他將向你展示如何:

- 集中精力於重要事項,運用80/20原則,專注於最重要的20%程式碼
- 避免孤立編碼:創建一個最小可行產品以獲得早期反饋
- 簡潔明瞭地撰寫程式碼,消除雜亂
- 避免過早優化,以免過度複雜化程式碼
- 平衡目標、能力和反饋,達到高效狀態的「流」
- 應用「專注於一件事」的哲學,大幅提升功能性
- 使用「少即是多」原則設計高效的使用者介面
- 將你的新技能結合成一個統一的原則:專注

基於Python的《乾淨程式碼的藝術》適用於任何程式設計師,並以不依賴特定語言的方式呈現想法。

作者簡介

Christian Mayer has a PhD in computer science and is the founder of the popular Python site Finxter, an educational platform that teaches more than a million people a year how to program. He has published a number of books, including the Coffee Break Python series, and is the author of Python One-Liners (No Starch Press, 2020).

作者簡介(中文翻譯)

Christian Mayer博士擁有計算機科學博士學位,是知名的Python網站Finxter的創始人,該網站是一個教授超過一百萬人每年如何編程的教育平台。他出版了多本書籍,包括《Coffee Break Python》系列,並且是《Python One-Liners》(No Starch Press,2020)的作者。