Go Brain Teasers: Exercise Your Mind
暫譯: Go 腦筋急轉彎:鍛鍊你的思維
Tebeka, Miki
- 出版商: Pragmatic Bookshelf
- 出版日期: 2021-10-05
- 定價: $800
- 售價: 8.8 折 $704
- 語言: 英文
- 頁數: 112
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1680508997
- ISBN-13: 9781680508994
-
相關分類:
Go 程式語言
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$790$616 -
$720$562 -
$954$906 -
$780$616 -
$1,750$1,663 -
$854Python Brain Teasers: Exercise Your Mind
-
$599$473 -
$450$355 -
$580$458 -
$780$616 -
$800$632 -
$720$562 -
$650$429 -
$600$468 -
$1,890$1,796 -
$620$310 -
$680$578 -
$580$458 -
$780$616 -
$790$616 -
$980$774 -
$680$530 -
$620$490 -
$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 參與開源,擁有幾個自己的專案,並且對幾個其他專案做出了貢獻,包括 Go 專案。他已經使用 Go 超過 10 年。