{"product_id":"100-java-mistakes-and-how-to-avoid-them","title":"100 Java Mistakes and How to Avoid Them","description":"\u003cp\u003e\u003cb\u003eDodge the common mistakes that even senior developers make, take full advantage of static analysis tools, and deliver robust and error-free Java code.\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eWhenever you make a mistake writing Java, it’s almost guaranteed that someone else has made it before! In \u003ci\u003e100 Java Mistakes and How To Avoid Them\u003c\/i\u003e you’ll learn about the common and the not-so-common antipatterns, errors, and tricky bits that trip up almost every Java developer.\u003c\/p\u003e\u003cp\u003eInside \u003ci\u003e100 Java Mistakes and How To Avoid Them\u003c\/i\u003e you will learn how to:\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eWrite better Java programs\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eRecognize common mistakes during programming\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eCreate fewer bugs and save time for debugging and testing\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eGet help from static analyzers during programming\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eConfigure static analysis tools to reduce the number of false reports\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eExtend static analysis tools with custom plugins\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003eEach Java mistake in this handy guide comes with an illustrative code sample, an explanation of why the mistake occurs, and an actionable “ways to avoid this” section to help you dodge the error. Plus, you’ll benefit from useful static analysis sidebars that let you know when mistakes will—and won’t—be spotted by static analysis tools.\u003c\/p\u003e\u003cp\u003ePurchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.\u003c\/p\u003e\u003cp\u003eForeword by Cay Horstmann.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the technology\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eMinor bugs in development can become major problems in production. It’s much better to spot and fix your mistakes before they get that far! This one-of-a-kind book shines a light on the most common Java slip-ups and shows you exactly how to avoid making them in the first place.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the book\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003e\u003ci\u003e100 Java Mistakes and How To Avoid Them\u003c\/i\u003e highlights 100 Java coding errors—from beginner missteps to mistakes even Java experts don’t know they’re making. Each case includes clear examples to show you what to look for and concrete troubleshooting advice. You’ll learn to use static analysis tools like IntelliJ IDEA and SonarLint to ensure you’re consistently delivering exceptional Java, discover how unit tests and defensive coding can keep your code clean, and even learn to write your own bug-busting plugins.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eWhat's inside\u003c\/b\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eRecognize bugs and antipatterns during programming\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eHighly-effective debugging and testing\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eGet help from static analyzers\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cb\u003eTable of Contents\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003e1 Managing code quality\u003cbr\u003e2 Expressions\u003cbr\u003e3 Program structure\u003cbr\u003e4 Numbers\u003cbr\u003e5 Common exceptions\u003cbr\u003e6 Strings\u003cbr\u003e7 Comparing objects\u003cbr\u003e8 Collections and maps\u003cbr\u003e9 Library methods\u003cbr\u003e10 Unit testing\u003cbr\u003eA Static analysis annotations\u003cbr\u003eB Extending static analysis tools\u003c\/p\u003e\u003ch3\u003eAbout the Author\u003c\/h3\u003e\u003cp\u003e\u003cb\u003eTagir Valeev\u003c\/b\u003e 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.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eEbook License\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eEnd-User Warranty And License Agreement\u003c\/p\u003e\u003cp\u003e1. Grant Of License\u003c\/p\u003e\u003cp\u003eManning Has Authorized The Download By You Of An Unrestricted Number Of Copies Of The Electronic Book (Ebook) In Any Of The Available Formats. Manning Grants You A Nonexclusive, Nontransferable License To Use The Ebook According To The Terms And Conditions Herein. This License Agreement Permits You To Install The Ebook On Any And All Your Devices For Your Personal Use Only.\u003c\/p\u003e\u003cp\u003e2. Restrictions\u003c\/p\u003e\u003cp\u003eYou Shall Not: (1) Share, Resell, Rent, Assign, Timeshare, Distribute, Or Transfer All Or Part Of The Ebook Or Any Rights Granted Hereunder To Any Other Person; (2) Duplicate The Ebook, Except For A Single Backup Or Archival Copy; (3) Remove Any Proprietary Notices, Labels, Or Marks From The Ebook; (4) Transfer Or Sublicense Title To The Ebook To Any Other Party.\u003c\/p\u003e\u003cp\u003e3. Intellectual Property Protection\u003c\/p\u003e\u003cp\u003eThe Ebook Is Owned By Manning And Is Protected By United States And International Copyright And Other Intellectual Property Laws. Manning Reserves All Rights In The Ebook Not Expressly Granted Herein. This License And Your Right To Use The Ebook Terminate Automatically If You Violate Any Part Of This Agreement. In The Event Of Termination, You Must Remove The Original And Any Copies Of The Ebook From All Your Devices.\u003c\/p\u003e\u003cp\u003e4. Source Code Supplementary Material\u003c\/p\u003e\u003cp\u003eAny Source Code Files Provided As A Supplement To The Book Are Freely Available To The Public For Download. Reuse Of The Code Is Permitted, In Whole Or In Part, Including The Creation Of Derivative Works, Provided That You Acknowledge That You Are Using It And Identify The Source: Title, Publisher And Year.\u003c\/p\u003e\u003cp\u003e5. Limited Warranty\u003c\/p\u003e\u003cp\u003eManning Warrants That The Ebook Files, A Copy Of Which You Are Authorized To Download, Are Free From Defects In The Operational Sense That They Can Be Read By A Pdf Reader Or Epub Reader, Or Other. Except For This Express Limited Warranty, Manning Makes And You Receive No Warranties, Express, Implied, Statutory Or In Any Communication With You, And Manning Specifically Disclaims Any Other Warranty Including The Implied Warranty Of Merchantability Or Fitness Or A Particular Purpose. Manning Does Not Warrant That The Operation Of The Ebook Will Be Uninterrupted Or Error Free. If The Ebook Was Purchased In The United States, The Above Exclusions May Not Apply To You As Some States Do Not Allow The Exclusion Of Implied Warranties. In Addition To The Above Warranty Rights, You May Also Have Other Rights That Vary From State To State.\u003c\/p\u003e\u003cp\u003e6. Limitation Of Liability\u003c\/p\u003e\u003cp\u003eIn No Event Will Manning Be Liable For Any Damages, Whether Arising For Tort Or Contract, Including Loss Of Data, Lost Profits, Or Other Special, Incidental, Consequential, Or Indirect Damages Arising Out Of The Use Or Inability To Use The Ebook.\u003c\/p\u003e\u003cp\u003e7. General\u003c\/p\u003e\u003cp\u003eThis Agreement Constitutes The Entire Agreement Between You And Manning And Supersedes Any Prior Agreement Concerning The Ebook. This Agreement Is Governed By The Laws Of The State Of New York.\u003c\/p\u003e\u003cp\u003e \u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Manning Publications","offers":[{"title":"Paperback","offer_id":50506355998790,"sku":"9781633437968","price":6205.0,"currency_code":"INR","in_stock":true},{"title":"E-Book","offer_id":50506356031558,"sku":"9781633437968-2","price":5121.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0754\/2797\/1142\/files\/61Wt_uZ2vaL._SL1500.jpg?v=1790327902","url":"https:\/\/cb-india.com\/products\/100-java-mistakes-and-how-to-avoid-them","provider":"Computer Bookshop (India) Pvt Ltd","version":"1.0","type":"link"}