Atjaunināt sīkdatņu piekrišanu

Go Brain Teasers: Exercise Your Mind [Mīkstie vāki]

  • Formāts: Paperback / softback, 105 pages, height x width: 235x191 mm
  • Izdošanas datums: 18-Nov-2021
  • Izdevniecība: The Pragmatic Programmers
  • ISBN-10: 1680508997
  • ISBN-13: 9781680508994
Citas grāmatas par šo tēmu:
  • Mīkstie vāki
  • Cena: 22,19 €
  • Grāmatu piegādes laiks ir 3-4 nedēļas, ja grāmata ir uz vietas izdevniecības noliktavā. Ja izdevējam nepieciešams publicēt jaunu tirāžu, grāmatas piegāde var aizkavēties.
  • Daudzums:
  • Ielikt grozā
  • Piegādes laiks - 4-6 nedēļas
  • Pievienot vēlmju sarakstam
  • Formāts: Paperback / softback, 105 pages, height x width: 235x191 mm
  • Izdošanas datums: 18-Nov-2021
  • Izdevniecība: The Pragmatic Programmers
  • ISBN-10: 1680508997
  • ISBN-13: 9781680508994
Citas grāmatas par šo tēmu:

This book contains 25 short programs that will challenge your understanding of Go. Like any big project, the Go developers had to make some design decisions that at times seem surprising. This book uses those quirks as a teaching opportunity. By understanding the gaps in your knowledge, you'll become better at what you do. Some of the teasers are from the author's experience shipping bugs to production, and some from others doing the same. Teasers and puzzles are fun, and learning how to solve them can teach you to avoid programming mistakes and maybe even impress your colleagues and future employers.

Programmers love the Go (golang) programming language because of its efficiency and simple tooling. But that doesn't mean programming in Go is without challenges, like hidden dependencies that trip up the compiler and interesting string type conversions that differ from languages like Python. Work your way through 25 short brain teasers, and learn the nuances of Go in one of the most fun and creative ways around.

Challenge yourself and challenge your assumptions to gain a more in-depth understanding of integers, strings, Unicode, compiler behavior, and a variety of subtle programming gotchas that might otherwise trip you up. Just read a short program written in Go, try to guess the output, run the code yourself, and then go to the next page for an explanation of the solution. By working through these brain teasers, you'll tighten up your Go programming skills and have lots of fun at the same time.

Taken from real-world, programming problems, conference talks, and meetup quizzes, these brain teasers provide an effective learning tool that's as enjoyable as it is educational.

What You Need:

This book assumes you know Go at some level and have experience programming with it.

*NOTE:* We use Go version 1.14.1 to run the code; the output might change in future versions.

You will need a working Go environment, you can download it from https://golang.org/dl. You will probably want a good IDE for Go, two of the most popular ones are Visual Studio Code and GoLand.

Acknowledgments ix
Preface xi
Foreword xv
David Cheney
Part I Go Brain Teasers
Puzzle 1 A Number π
3(4)
Puzzle 2 Empty-Handed
7(2)
Puzzle 3 When in Krakow
9(4)
Puzzle 4 I've Got Nothing
13(2)
Puzzle 5 A Raw Diet
15(2)
Puzzle 6 Are We There Yet?
17(2)
Puzzle 7 Can Numbers Lie?
19(4)
Puzzle 8 Sleep Sort
23(4)
Puzzle 9 Just in Time
27(4)
Puzzle 10 A Simple Append
31(4)
Puzzle 11 What's in a Log?
35(4)
Puzzle 12 A Funky Number?
39(4)
Puzzle 13 Free-Range Integers
43(4)
Puzzle 14 Multiple Personalities
47(2)
Puzzle 15 A Tale of Two Cities
49(4)
Puzzle 16 What's in a Channel?
53(2)
Puzzle 17 An **Int**eresting String
55(4)
Puzzle 18 A Job to Do
59(4)
Puzzle 19 To Err or Not to Err
63(2)
Puzzle 20 What's in a String?
65(4)
Puzzle 21 A Double Take
69(2)
Puzzle 22 Count Me a Million
71(4)
Puzzle 23 Who's Next?
75(2)
Puzzle 24 Fun with Flags
77(2)
Puzzle 25 You Have My Permission
79(4)
Index 83
Miki has a passion for teaching and mentoring. He teaches many workshops on various technical subjects all over the world and also mentored many young developers on their way to success. Miki is involved in open source, has several projects of his own, and contributed to several more - including the Go project. He has been using Go for more than 10 years.