Javа Puzzlers: Traps, Pitfalls, and Corner Cases 14437

Код товару: 14437Паперова книга

In the tradition of Effective Java™, Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions,Java™ 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.

450 ₴
Купити
  • Нова Пошта
    Безкоштовно від 3'000,00 ₴
  • Укрпошта
    Безкоштовно від 1'000,00 ₴
  • Meest Пошта
    Безкоштовно від 3'000,00 ₴
Javа Puzzlers: Traps, Pitfalls, and Corner Cases - фото 1
Інші книги Addison-Wesley Professional
Effective Java. 3rd Edition
3644
Joshua Bloch
592 ₴650 ₴
Programming: Principles and Practice Using C++, 2nd Edition
14352
Bjarne Stroustrup
1'750 ₴
Tour of C++
14360
Bjarne Stroustrup
980 ₴
The Art of Computer Programming. Volume 2. Seminumerical Algorithms. 3rd Edition
14420
Donald E. Knuth
1'287 ₴
Effective Java (2nd Edition)
12822
Joshua Bloch
300 ₴
The AWK Programming Language
263718
Alfred V. AhoPeter J. WeinbergerBrian W. Kernighan
850 ₴
Algorithms
34310
Robert SedgewickKevin Wayne
1'200 ₴
The Pragmatic Programmer: From Journeyman to Master
14413
Andrew Hunt, David Thomas
550 ₴
Refactoring: Improving the Design of Existing Code
14416
Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts
740 ₴

Характеристики

  • Бренд
  • Автор
  • Категорія
    Програмування
  • Номер видання
    1-е вид.
  • Рік
    2005
  • Сторінок
    312
  • Формат
    170х240 мм
  • Обкладинка
    М'яка
  • Мова
    Англійська

Від видавця

In the tradition of Effective Java™, Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions,Java™ 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.

Зміст

Table of Contents

Preface xi

Chapter 1: Introduction 1

Chapter 2: Expressive Puzzlers 5

Puzzle 1: Oddity 5

Puzzle 2: Time for a Change 7

Puzzle 3: Long Division 9

Puzzle 4: It's Elementary 11

Puzzle 5: The Joy of Hex 13

Puzzle 6: Multicast 15

Puzzle 7: Swap Meat 17

Puzzle 8: Dos Equis 19

Puzzle 9: Tweedledum 21

Puzzle 10: Tweedledee 23

Chapter 3: Puzzlers with Character 25

Puzzle 11: The Last Laugh 25

Puzzle 12: ABC 27

Puzzle 13: Animal Farm 29

Puzzle 14: Escape Rout 31

Puzzle 15: Hello Whirled 33

Puzzle 16: Line Printer 35

Puzzle 17: Huh? 37

Puzzle 18: String Cheese 39

Puzzle 19: Classy Fire 41

Puzzle 20: What's My Class? 43

Puzzle 21: What's My Class, Take 2 45

Puzzle 22: Dupe of URL 47

Puzzle 23: No Pain, No Gain 49

Chapter 4: Loopy Puzzlers 53

Puzzle 24: A Big Delight in Every Byte 53

Puzzle 25: Inclement Increment 55

Puzzle 26: In the Loop 57

Puzzle 27: Shifty i's 59

Puzzle 28: Looper 61

Puzzle 29: Bride of Looper 63

Puzzle 30: Son of Looper 65

Puzzle 31: Ghost of Looper 67

Puzzle 32: Curse of Looper 69

Puzzle 33: Looper Meets the Wolfman 71

Puzzle 34: Down for the Count 73

Puzzle 35: Minute by Minute 75

Chapter 5: Exceptional Puzzlers 77

Puzzle 36: Indecision 77

Puzzle 37: Exceptionally Arcane 79

Puzzle 38: The Unwelcome Guest 81

Puzzle 39: Hello, Goodbye 83

Puzzle 40: The Reluctant Constructor 85

Puzzle 41: Field and Stream 87

Puzzle 42: Thrown for a Loop 89

Puzzle 43: Exceptionally Unsafe 93

Puzzle 44: Cutting Class 97

Puzzle 45: Exhausting Workout 101

Chapter 6: Classy Puzzlers 105

Puzzle 46: The Case of the Confusing Constructor 105

Puzzle 47: Well, Dog My Cats! 107

Puzzle 48: All I Get Is Static 109

Puzzle 49: Larger Than Life 111

Puzzle 50: Not Your Type 113

Puzzle 51: What's the Point? 115

Puzzle 52: Sum Fun 119

Puzzle 53: Do Your Thing 123

Puzzle 54: Null and Void 125

Puzzle 55: Creationism 127

Chapter 7: Library Puzzlers 131

Puzzle 56: Big Problem 131

Puzzle 57: What's in a Name? 133

Puzzle 58: Making a Hash of It 137

Puzzle 59: What's the Difference? 139

Puzzle 60: One-Liners 141

Puzzle 61: The Dating Game 143

Puzzle 62: The Name Game 145

Puzzle 63: More of the Same 147

Puzzle 64: The Mod Squad 149

Puzzle 65: A Strange Saga of a Suspicious Sort 152

Chapter 8: Classier Puzzlers 157

Puzzle 66: A Private Matter 157

Puzzle 67: All Strung Out 161

Puzzle 68: Shades of Gray 163

Puzzle 69: Fade to Black 165

Puzzle 70: Package Deal 167

Puzzle 71: Import Duty 169

Puzzle 72: Final Jeopardy 171

Puzzle 73: Your Privates Are Showing 173

Puzzle 74: Identity Crisis 175

Puzzle 75: Heads or Tails? 177

Chapter 9: More Library Puzzlers 183

Puzzle 76: Ping Pong 183

Puzzle 77: The Lock Mess Monster 185

Puzzle 78: Reflection Infection 189

Puzzle 79: It's a Dog's Life 193

Puzzle 80: Further Reflection 195

Puzzle 81: Charred Beyond Recognition 197

Puzzle 82: Beer Blast 199

Puzzle 83: Dyslexic Monotheism 201

Puzzle 84: Rudely Interrupted 203

Puzzle 85: Lazy Initialization 205

Chapter 10: Advanced Puzzlers 209

Puzzle 86: Poison-Paren Litter 209

Puzzle 87: Strained Relations 211

Puzzle 88: Raw Deal 213

Puzzle 89: Generic Drugs 217

Puzzle 90: It's Absurd, It's a Pain, It's Superclass! 221

Puzzle 91: Serial Killer 224

Puzzle 92: Twisted Pair 229

Puzzle 93: Class Warfare 231

Puzzle 94: Lost in the Shuffle 233

Puzzle 95: Just Desserts 237

Appendix A Catalog of Traps and Pitfalls 239

Appendix B Notes on the Illusions 259

References 265

Index 271

Відгуки про Javа Puzzlers: Traps, Pitfalls, and Corner Cases

Javа Puzzlers: Traps, Pitfalls, and Corner Cases
Javа Puzzlers: Traps, Pitfalls, and Corner Cases
450 ₴
Купити
Персонально для вас
Effective Java (2nd Edition)
12822
Joshua Bloch
300 ₴
Java SE8 for the Really Impatient
190868
Cay S. Horstmann
450 ₴
Microservices Patterns: With examples in Java First Edition
276177
Chris Richardson
500 ₴
Програмування мовою Java
161585
Олексій Васильєв
552 ₴649 ₴
Effective Java. 3rd Edition
3644
Joshua Bloch
592 ₴650 ₴
Java Concurrency in Practice
14427
Joshua BlochBrian GoetzTim PeierlsJoseph BowbeerDavid HolmesDoug Lea
628 ₴690 ₴
Learning Spring Boot 3.0: Simplify the development of production-grade applications using Java and Spring, 3rd Editio
255176
Greg L. Turnquist
840 ₴
OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804) (Certification Press)
31128
Kathy Sierra, Bert Bates
950 ₴
Java 9 Revealed: For Early Adoption and Migration 1st ed. Edition
52777
Kishori Sharan
1'050 ₴
gRPC: Up and Running: Building Cloud Native Applications with Go and Java for Docker and Kubernetes 1st Edition
114640
Kasun IndrasiriDanesh Kuruppu
1'100 ₴
Spring Security in Action, Second Edition 2nd Edition
276052
Laurentiu Spilca
1'100 ₴
Head First. Java. Легкий для сприйняття довідник.
197543
5/1
Берт БейтсКеті Сьєрра
1'190 ₴
Algorithms
34310
Robert SedgewickKevin Wayne
1'200 ₴
Microservices with Spring Boot 3 and Spring Cloud: Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernetes 2nd ed. Edition
255738
Magnus Larsson
1'140 ₴1'200 ₴
Learn Microservices with Spring Boot 3: A Practical Approach Using Event-Driven Architecture, Cloud-Native Patterns, and Containerization 3rd ed. Edition
264110
Moises Macero GarciaTarun Telang
1'350 ₴
Beginning Java 17 Fundamentals. 3rd Ed.
244664
Kishori Sharan, Adam L. Davis
1'400 ₴
Java: The Complete Reference, Twelfth Edition 12th Edition
252452
Herbert Schildt
1'400 ₴
Thinking in Java (4th Edition)
39938
Bruce Eckel
1'440 ₴
Effective Java (2nd Edition)
12822
Joshua Bloch
300 ₴
Introducing Elixir: Getting Started in Functional Programming 2nd Edition
67043
Simon St. Laurent
1'500 ₴
How JavaScript Works
89524
Douglas Crockford
2'100 ₴
Spring Boot 3 and Spring Framework 6 First Edition
263354
Christian Ullenboom
2'900 ₴
Algorithms in a Nutshell: A Practical Guide 2nd Edition
67062
George T. Heineman
2'415 ₴
Java 17 Recipes: A Problem-Solution Approach. 4th Ed.
244691
Josh Juneau, Luciano Manelli
1'700 ₴
Mastering Entity Framework
39499
Rahul Rajat Singh
490 ₴
Machine Learning Projects for .NET Developers 1st Edition
35075
Mathias Brandewinder
590 ₴
Troubleshooting Java: Read, debug, and optimize JVM applications 1st Edition
292941
Laurentiu Spilca
1'500 ₴