AccueilGroupesDiscussionsPlusTendances
Site de recherche
Ce site utilise des cookies pour fournir nos services, optimiser les performances, pour les analyses, et (si vous n'êtes pas connecté) pour les publicités. En utilisant Librarything, vous reconnaissez avoir lu et compris nos conditions générales d'utilisation et de services. Votre utilisation du site et de ses services vaut acceptation de ces conditions et termes.

Résultats trouvés sur Google Books

Cliquer sur une vignette pour aller sur Google Books.

Chargement...

Java Puzzlers: Traps, Pitfalls, and Corner Cases

par Joshua Bloch

MembresCritiquesPopularitéÉvaluation moyenneDiscussions
1993135,414 (4.05)Aucun
"Every programming language has its quirks. This lively book reveals oddities of the Java programming language through entertaining and thought-provoking programming puzzles." --Guy Steele, Sun Fellow and coauthor of The Java(tm) Language Specification "I laughed, I cried, I threw up (my hands in admiration)." --Tim Peierls, president, Prior Artisans LLC, and member of the JSR 166 Expert Group How well do you really know Java? Are you a code sleuth? Have you ever spent days chasing a bug caused by a trap or pitfall in Java or its libraries? Do you like brainteasers? Then this is the book for you! In the tradition of Effective Java(tm), Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions, Java(tm) Puzzlers features 95 diabolical puzzles that educate and entertain. Anyone with a working knowledge of Java will understand the puzzles, but even the most seasoned veteran will find them challenging. Most of the puzzles take the form of a short program whose behavior isn't what it seems. Can you figure out what it does? Puzzles are grouped loosely according to the features they use, and detailed solutions follow each puzzle. The solutions go well beyond a simple explanation of the program's behavior--they show you how to avoid the underlying traps and pitfalls for good. A handy catalog of traps and pitfalls at the back of the book provides a concise taxonomy for future reference. Solve these puzzles and you'll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers.… (plus d'informations)
Aucun
Chargement...

Inscrivez-vous à LibraryThing pour découvrir si vous aimerez ce livre

Actuellement, il n'y a pas de discussions au sujet de ce livre.

A könyv 95 java feladványt tartalmaz, rövid java programokat, ahol ki kell találni, lefordul-e a program és mit csinál. Többnyire elég egyértelmű, hogy mit akar csinálni a program, de valami furcsa okból szinte minden program másként viselkedik mint elvárjuk. Bosszantóan kevés esetben találtam meg az elrejtett trükköt, ez persze lehet az én hibám is. Az már a könyv hibája, hogy a legtöbb példából szerintem nem sokat tanulunk.

Vannak azok a programok, amelyekről nem látszik elsőre, hogy nem fordulnak le. Viszont a hibaüzenet elég jó ahhoz, hogyha ebbe beleütközünk, akkor gyorsan javítsuk a hibát, nem túl fontos ezt nekünk előre kitalálni. Nagyon sok olyan kód van, ami ránézésre rossz, ilyent nem fogok leírni, így annyira nem fontos tudni, hogy miért nem működik (az persze igaz, hogy más által írt szar kódot is karban kell tartanunk elég gyakran). Vannak persze nagyon érdekes feladványok is.

Elég sokszor írja a szerző, hogy mit kellene tanulnunk a példákból, ilyenkor az Effective Java könyvére hivatkozik. Az egy valóban nagyszerű könyv, szerintem sokkal jobban megéri azt elolvasni.

A könyv Java 1.5-re épül, így nem túl friss már. ( )
  asalamon | Apr 24, 2021 |
If you program in Java, you _must_ read this book. It is a real eye-opener to the kind of traps in your code you wouldn't even imagine could be there.

I can guarantee you have written at least one of these issues into your code. And QA never caught it. And it is out in the wild RIGHT NOW. Arrgh!!

More at http://tardate.blogspot.com/2009/06/java-puzzlers-be-afraid-of-dark.html ( )
  pratalife | Feb 9, 2014 |
If you program in Java, you _must_ read this book. It is a real eye-opener to the kind of traps in your code you wouldn't even imagine could be there.

I can guarantee you have written at least one of these issues into your code. And QA never caught it. And it is out in the wild RIGHT NOW. Arrgh!!

More at http://tardate.blogspot.com/2009/06/java-puzzlers-be-afraid-of-dark.html ( )
  pratalife | Feb 9, 2014 |
3 sur 3
aucune critique | ajouter une critique
Vous devez vous identifier pour modifier le Partage des connaissances.
Pour plus d'aide, voir la page Aide sur le Partage des connaissances [en anglais].
Titre canonique
Informations provenant du Partage des connaissances anglais. Modifiez pour passer à votre langue.
Titre original
Titres alternatifs
Date de première publication
Personnes ou personnages
Lieux importants
Évènements importants
Films connexes
Épigraphe
Dédicace
Premiers mots
Citations
Derniers mots
Notice de désambigüisation
Directeur de publication
Courtes éloges de critiques
Langue d'origine
DDC/MDS canonique
LCC canonique

Références à cette œuvre sur des ressources externes.

Wikipédia en anglais (1)

"Every programming language has its quirks. This lively book reveals oddities of the Java programming language through entertaining and thought-provoking programming puzzles." --Guy Steele, Sun Fellow and coauthor of The Java(tm) Language Specification "I laughed, I cried, I threw up (my hands in admiration)." --Tim Peierls, president, Prior Artisans LLC, and member of the JSR 166 Expert Group How well do you really know Java? Are you a code sleuth? Have you ever spent days chasing a bug caused by a trap or pitfall in Java or its libraries? Do you like brainteasers? Then this is the book for you! In the tradition of Effective Java(tm), Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions, Java(tm) Puzzlers features 95 diabolical puzzles that educate and entertain. Anyone with a working knowledge of Java will understand the puzzles, but even the most seasoned veteran will find them challenging. Most of the puzzles take the form of a short program whose behavior isn't what it seems. Can you figure out what it does? Puzzles are grouped loosely according to the features they use, and detailed solutions follow each puzzle. The solutions go well beyond a simple explanation of the program's behavior--they show you how to avoid the underlying traps and pitfalls for good. A handy catalog of traps and pitfalls at the back of the book provides a concise taxonomy for future reference. Solve these puzzles and you'll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers.

Aucune description trouvée dans une bibliothèque

Description du livre
Résumé sous forme de haïku

Discussion en cours

Aucun

Couvertures populaires

Vos raccourcis

Évaluation

Moyenne: (4.05)
0.5
1
1.5
2
2.5
3 6
3.5 2
4 13
4.5 1
5 8

Est-ce vous ?

Devenez un(e) auteur LibraryThing.

 

À propos | Contact | LibraryThing.com | Respect de la vie privée et règles d'utilisation | Aide/FAQ | Blog | Boutique | APIs | TinyCat | Bibliothèques historiques | Critiques en avant-première | Partage des connaissances | 203,197,229 livres! | Barre supérieure: Toujours visible