100 Java Mistakes and How to Avoid Them (Paperback)
暫譯: 100 個 Java 錯誤及其避免方法 (平裝本)

Valeev, Tagir

  • 出版商: Manning
  • 出版日期: 2024-04-30
  • 售價: $2,450
  • 貴賓價: 9.5$2,328
  • 語言: 英文
  • 頁數: 328
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1633437965
  • ISBN-13: 9781633437968
  • 相關分類: Java 程式語言
  • 立即出貨

相關主題

商品描述

Dodge the common mistakes that even senior developers make, take full advantage of static analysis tools, and deliver robust and error-free Java code.

Inside 100 Java Mistakes and How To Avoid Them you will learn how to:

 

  • Write better Java programs
  • Recognize common mistakes during programming
  • Create fewer bugs and save time for debugging and testing
  • Get help from static analyzers during programming
  • Configure static analysis tools to reduce amount of false reports
  • Extend static analysis tools with custom plugins


Whenever you make a mistake writing Java, it's almost guaranteed that someone else has made it before! In 100 Java Mistakes and How To Avoid Them you'll learn about the common and the not-so-common antipatterns, errors, and tricky bits that trip up almost every Java developer. Discover the bugs that are hiding in your Java code, and explore useful and effective ways to dodge them--from unit tests and defensive coding to static analysis tools like IntelliJ IDEA, SonarLint, and Error Prone.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

Minor bugs you might not notice when writing code can quickly spin out of control in production, costing you time and money to fix. The solution is clear: spot the mistakes before you make them! This one-of-a-kind guide makes it just that easy. It shines a spotlight on the errors most often made by Java developers, so you can consistently deliver exceptional Java code.

About the book

100 Java Mistakes and How To Avoid Them shows you how to improve your Java code by identifying and dodging common programming problems. Inside, you'll find one hundred errors, from missteps that trip up beginners to mistakes even Java experts don't know they're making. Each mistake is accompanied by concrete troubleshooting advice, as well as ways of using modern static analysis tools like IntelliJ IDEA and SonarLint to identify and fix the problem. You'll quickly see why static analysis can be so helpful for writing your code, and even learn how to write your own useful plugins!

About the reader

For Java developers of all skill levels.

About the author

Tagir Valeev is a technical lead in JetBrains GmbH, where he works in the Java team and gives Java language support in IntelliJ IDEA. Tagir designed and developed many code inspections for IntelliJ IDEA built-in static analyzer. He is a Java Champion, and holds a PhD in computer science.

商品描述(中文翻譯)

避免即使是資深開發者也會犯的常見錯誤,充分利用靜態分析工具,交付穩健且無錯誤的 Java 代碼。

在《100 Java Mistakes and How To Avoid Them》一書中,您將學習如何:

- 撰寫更好的 Java 程式
- 辨識程式設計過程中的常見錯誤
- 減少錯誤並節省除錯和測試的時間
- 在程式設計過程中獲得靜態分析工具的幫助
- 配置靜態分析工具以減少錯誤報告的數量
- 使用自訂插件擴展靜態分析工具

每當您在撰寫 Java 時犯錯,幾乎可以保證之前就有人犯過同樣的錯誤!在《100 Java Mistakes and How To Avoid Them》中,您將了解常見及不那麼常見的反模式、錯誤和幾乎每位 Java 開發者都會遇到的棘手問題。發現隱藏在您 Java 代碼中的錯誤,並探索有效的方式來避免它們——從單元測試和防禦性編碼到靜態分析工具,如 IntelliJ IDEA、SonarLint 和 Error Prone。

購買印刷版書籍可獲得 Manning Publications 提供的免費 PDF、Kindle 和 ePub 格式電子書。

關於技術

在撰寫代碼時,您可能不會注意到的小錯誤,可能會在生產環境中迅速失控,讓您花費時間和金錢來修復。解決方案很明確:在犯錯之前就發現它們!這本獨特的指南讓這一切變得如此簡單。它聚焦於 Java 開發者最常犯的錯誤,讓您能夠持續交付卓越的 Java 代碼。

關於本書

《100 Java Mistakes and How To Avoid Them》向您展示如何通過識別和避免常見的程式設計問題來改善您的 Java 代碼。在書中,您將找到一百個錯誤,從讓初學者絆倒的失誤到即使是 Java 專家也不知道自己正在犯的錯誤。每個錯誤都附有具體的故障排除建議,以及使用現代靜態分析工具(如 IntelliJ IDEA 和 SonarLint)來識別和修復問題的方法。您將迅速了解靜態分析對於撰寫代碼的幫助,甚至學會如何撰寫自己的有用插件!

關於讀者

適合所有技能水平的 Java 開發者。

關於作者

**Tagir Valeev** 是 JetBrains GmbH 的技術負責人,他在 Java 團隊工作並提供 IntelliJ IDEA 的 Java 語言支持。Tagir 設計並開發了許多 IntelliJ IDEA 內建靜態分析器的代碼檢查。他是 Java Champion,並擁有計算機科學博士學位。