Bad Programming Practices 101: Become a Better Coder by Learning How (Not) to Program
暫譯: 糟糕的程式設計實踐 101:透過學習如何(不)編程來成為更好的程式設計師

Beecher, Karl

  • 出版商: Apress
  • 出版日期: 2026-05-19
  • 售價: $1,850
  • 貴賓價: 9.8$1,813
  • 語言: 英文
  • 頁數: 235
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868825057
  • ISBN-13: 9798868825057
  • 相關分類: C 程式語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

This book flips the script of generic programming manuals, using humor to teach by bad example. Discover how to become the world's worst programmer and build bad habits that lead to buggy, poorly written code.

Do you dream of writing code that gets instantly rejected in review? Do you look forward to reading feedback plastered in comments like "WTF " Do you hope your bug-ridden changes sneak through and wreak havoc in the codebase? If your goal is to build a reputation for writing creaky, messy, error-prone code that drives your teammates up the wall, Bad Programming Practices 101 is here to help.

Alternatively, you could use this book to identify those bad habits and learn to avoid them. It covers topics like the foundations of programming (layout, variables, loops, and modules) and is revised with a NEW chapter on how NOT to use AI for writing code. It's been said that you need to write 10,000 lines of bad code before becoming a good programmer. This book helps you to fill that quota while truly understanding the "why" behind best practices.

What You Will Learn:

  • Become a better coder by learning how (not) to program
  • Choose your tools wisely
  • Think of programming as problem solving
  • Discover the consequences of a program's appearance and overall structure
  • Explain poor use of variables in programs
  • Avoid bad habits and common mistakes when using conditionals and loops
  • See how poor error-handling makes for unstable programs
  • Sidestep bad practices related specifically to object-oriented programming
  • Mitigate the effects of ineffectual and inadequate bug location and testing
  • Learn how to avoid sabotaging your code with misuse of AI tools

Who This Book Is for:
Those who have some practical programming knowledge (can program in at least one programming language), but little or no professional experience, which they would like to quickly build up. They are either still undergoing training in software development or are at the beginning of their programming career. They have at most 1-2 years of professional experience.

商品描述(中文翻譯)

這本書顛覆了傳統的程式設計手冊,利用幽默的方式通過壞範例來教學。發現如何成為世界上最糟糕的程式設計師,並培養導致錯誤多、寫得不好的程式碼的壞習慣。

你是否夢想寫出在審查中立即被拒絕的程式碼?你是否期待看到評論中貼滿「WTF」的反饋?你是否希望你的錯誤百出的變更能悄悄通過,並在程式碼庫中造成混亂?如果你的目標是建立一個寫出吱吱作響、雜亂無章、易出錯的程式碼的聲譽,讓你的隊友感到崩潰,《壞程式設計實踐 101》將幫助你達成。

或者,你也可以利用這本書來識別那些壞習慣並學會避免它們。書中涵蓋了程式設計的基礎知識(佈局、變數、迴圈和模組),並新增了一章關於如何不使用 AI 來寫程式碼。有人說,你需要寫出 10,000 行壞程式碼才能成為一名優秀的程式設計師。這本書幫助你達成這個配額,同時真正理解最佳實踐背後的「為什麼」。

你將學到的內容:
- 通過學習如何(不)編程來成為更好的程式設計師
- 明智地選擇你的工具
- 將程式設計視為解決問題
- 發現程式外觀和整體結構的後果
- 解釋程式中變數的錯誤使用
- 避免在使用條件語句和迴圈時的壞習慣和常見錯誤
- 了解不良錯誤處理如何導致不穩定的程式
- 避開與物件導向程式設計相關的壞實踐
- 減輕無效和不足的錯誤定位及測試的影響
- 學習如何避免因誤用 AI 工具而破壞你的程式碼

本書適合對象:
那些擁有一些實際程式設計知識(至少能使用一種程式語言編程),但幾乎沒有或很少的專業經驗,希望能快速提升的人。他們可能仍在軟體開發的培訓中,或剛開始他們的程式設計職業生涯。他們的專業經驗最多為 1-2 年。

作者簡介

Karl Beecher is a British writer, software developer and teacher based in the UK. He specializes in taking meaty, complex ideas and presenting them in ways that are easy to understand.

作者簡介(中文翻譯)

卡爾·比徹(Karl Beecher)是一位居住在英國的英國作家、軟體開發者和教師。他專注於將深奧且複雜的概念以易於理解的方式呈現出來。