Cantitate/Preț
Produs

100 Java Mistakes and How to Avoid Them

Autor Tagir Valeev
en Limba Engleză Paperback – 30 apr 2024

Începem prin a sublinia expertiza autorului: Tagir Valeev nu este doar un teoretician, ci specialistul din spatele multor inspecții de cod pe care programatorii le folosesc zilnic în IntelliJ IDEA. În 100 Java Mistakes and How to Avoid Them, experiența sa de Java Champion este distilată într-un ghid tehnic riguros, axat pe eliminarea erorilor care pot compromite producția. Observăm o structură extrem de practică, unde fiecare dintre cele 100 de probleme este tratată ca un studiu de caz: vedem codul defectuos, înțelegem mecanismul erorii și primim varianta corectată. Ne-a atras atenția în mod deosebit accentul pus pe analiza statică. Cartea nu se limitează la a descrie antipattern-uri, ci ne învață cum să configurăm IntelliJ IDEA sau SonarLint pentru a automatiza detectarea acestor greșeli. Găsim în paginile sale soluții pentru probleme variate, de la gestionarea numerelor și a șirurilor de caractere, până la subtilitățile comparării obiectelor și utilizarea metodelor din biblioteci. Complementar volumului Java by Comparison, care se concentrează pe estetica codului și tranziția către un stil „curat”, lucrarea lui Valeev merge mai adânc în mecanica limbajului, acoperind zonele critice unde logica programului poate eșua subit. Stilul este direct, tehnic și lipsit de ambiguități, fiind ideal pentru cei care doresc să scrie cod robust. Autorul abordează inclusiv extinderea instrumentelor de analiză prin plugin-uri personalizate, oferind o perspectivă de inginerie software pe care puține manuale de programare o ating.

Citește tot Restrânge

Preț: 36732 lei

Preț vechi: 45915 lei
-20%

Puncte Express: 551

Carte disponibilă

Livrare economică 04-18 mai
Livrare express 18-24 aprilie pentru 7678 lei


Specificații

ISBN-13: 9781633437968
ISBN-10: 1633437965
Pagini: 352
Dimensiuni: 190 x 236 x 22 mm
Greutate: 0.61 kg
Editura: Manning Publications

De ce să citești această carte

Recomandăm această carte oricărui dezvoltator Java care dorește să treacă de la scrierea codului care „funcționează” la scrierea codului industrial, rezistent la erori. Veți câștiga o înțelegere profundă a modului în care instrumentele de analiză statică vă pot proteja proiectele, învățând direct de la omul care a construit aceste sisteme pentru ecosistemul JetBrains.


Despre autor

Tagir Valeev este o figură proeminentă în comunitatea globală Java, deținând titlul de Java Champion. În prezent, ocupă poziția de Technical Lead la JetBrains, unde coordonează echipa responsabilă de analiza statică a codului în mediul de dezvoltare IntelliJ IDEA. Expertiza sa este recunoscută prin contribuțiile majore la dezvoltarea inspecțiilor de cod și a instrumentelor de refactorizare, fiind un vorbitor frecvent la conferințe internaționale de tehnologie, unde promovează bunele practici în programarea Java.


Notă biografică

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.

Descriere

Dodge the common mistakes that even senior developers make, take full advantage of static analysis tools, and deliver robust and error-free Java code. 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. 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 the number of false reports Extend static analysis tools with custom plugins Each 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. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. Foreword by Cay Horstmann. About the technology Minor 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. About the book 100 Java Mistakes and How To Avoid Them 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. What's inside Recognize bugs and antipatterns during programming Highly-effective debugging and testing Get help from static analyzers About the reader For Java developers of all skill levels. About the author Tagir Valeev is a technical lead in JetBrains and a Java Champion. He designed and developed many code inspections for IntelliJ IDEA built-in static analyzer. The technical editor on this book was Jean-François Morin. Table of Contents 1 Managing code quality 2 Expressions 3 Program structure 4 Numbers 5 Common exceptions 6 Strings 7 Comparing objects 8 Collections and maps 9 Library methods 10 Unit testing A Static analysis annotations B Extending static analysis tools