Go Brain Teasers: Exercise Your Mind
Tebeka, Miki
- 出版商: Pragmatic Bookshelf
- 出版日期: 2021-10-05
- 定價: $800
- 售價: 9.5 折 $760
- 語言: 英文
- 頁數: 112
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1680508997
- ISBN-13: 9781680508994
-
相關分類:
Go 程式語言
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$790$616 -
$720$562 -
$954$906 -
$780$663 -
$1,400Network Programming with Go: Learn to Code Secure and Reliable Network Services from Scratch
-
$808$765 -
$599$509 -
$450$338 -
$580$435 -
$780$616 -
$800$632 -
$720$562 -
$650$507 -
$600$468 -
$1,850$1,758 -
$620$484 -
$680$537 -
$580$458 -
$780$585 -
$790$616 -
$980$647 -
$680$530 -
$620$465 -
$780$616 -
$980$774
相關主題
商品描述
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.
商品描述(中文翻譯)
本書包含25個短程式,將挑戰您對Go語言的理解。就像任何大型專案一樣,Go開發人員必須做出一些設計決策,有時似乎令人驚訝。本書將利用這些特點作為教學機會。通過了解您知識的不足之處,您將變得更加優秀。其中一些謎題來自作者在生產環境中發送錯誤的經驗,還有一些來自其他人的相同經歷。謎題和謎題很有趣,學習如何解決它們可以教您避免編程錯誤,甚至可能給同事和未來雇主留下深刻印象。
程式設計師喜歡Go(golang)編程語言,因為它高效且工具簡單。但這並不意味著在Go中編程沒有挑戰,例如會讓編譯器出錯的隱藏依賴以及與Python等語言不同的有趣字符串類型轉換。通過解決25個短謎題,以一種最有趣和創造性的方式來學習Go的細微差別。
挑戰自己,挑戰自己的假設,以更深入地了解整數、字符串、Unicode、編譯器行為以及各種微妙的編程陷阱,這些陷阱可能會讓您犯錯。只需閱讀一個用Go編寫的短程式,嘗試猜測輸出,運行代碼,然後翻到下一頁以獲得解決方案的解釋。通過解決這些謎題,您將提升您的Go編程技能,同時也能玩得開心。
這些謎題來自於現實世界的編程問題、會議演講和聚會測驗,提供了一種既有趣又具有教育意義的有效學習工具。
您需要什麼:
本書假設您在某個程度上了解Go並具有使用它進行編程的經驗。
*注意:*我們使用Go版本1.14.1運行代碼;輸出可能在未來版本中有所變化。
您需要一個可運行的Go環境,您可以從https://golang.org/dl下載。您可能需要一個適合Go的好的IDE,其中兩個最受歡迎的是Visual Studio Code和GoLand。
作者簡介
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.
作者簡介(中文翻譯)
Miki熱衷於教學和指導。他在世界各地教授許多關於不同技術主題的工作坊,並且也指導許多年輕開發者走向成功。Miki參與了開源項目,擁有自己的幾個項目,並且也對其他項目做出了貢獻,包括Go項目。他已經使用Go超過10年了。