Get Programming with Go
Authors: Nathan Youngman – Roger Peppe
ISBN-10: 1617293091
ISBN-13: 9781617293092
Edition 版次: 1
Publication Date 出版日期: 2018-09-30
Print Length 页数: 360 pages
Get Programming with Go introduces you to the powerful Go language without confusing jargon or high-level theory. By working through 32 quick-fire lessons,you’ll quickly pick up the basics of the innovative Go programming language!
Go is a small programming language designed by Google to tackle big problems. Large projects mean large teams with people of varying levels of experience. Go offers a small,yet capable,language that can be understood and used by anyone,no matter their experience.
Hobbyists,newcomers,and professionals alike can benefit from a fast,modern language; all you need is the right resource! Get Programming with Go provides a hands-on introduction to Go language fundamentals,serving as a solid foundation for your future programming projects. You’ll master Go syntax,work with types and functions,and explore bigger ideas like state and concurrency,with plenty of exercises to lock in what you learn.
What’s inside
Language concepts like slices,interfaces,pointers,and concurrency
Seven capstone projects featuring spacefaring gophers,Mars rovers,ciphers,and simulations
All examples run in the Go Playground – no installation required!
About the Reader
This book is for anyone familiar with computer programming,as well as anyone with the desire to learn.
Contents
Preface vi
Acknowledgments vii
About this book x
About the authors xii
Le=son 14 First-class functions 108
Le=son 15 Capstone: Temperature tables 117
Lesson 1 Get ready.get set.Go 3
COLLECTIONS
Unl: 1
Lesson 16 Arrayed in splendor 121
MPERATIVEPROORAMMINe e: on 17 Sicas windowsingarrays 180
Lesson 18 A bigger slice 138
Le==on 2A glorified calculator 13Le==on 19 The everversatile map 146
Lesson 3 Loops and branches 23
Le=son 20 Capstone: A slice of life 155
Lesson 4 Variable scope 34
Le==on 5 Capstone.Ticketto Mars 41 Unlt 5
Unlt2
STATE AND BEHAVIOR
Lesson 21 A little structure 161
TYPES
Lesson 22 Go’s got no class 170
Lesson 6 Real numbers 45
Lesson 23 Composition and forwarding 177
Lesson 7 Whole numbers 58
Lesson 24 Interfaces 186
Lesson 8 Big numbers 62
Lesson 25 Capstone: Martian animal
Lesson 9 Multilingual text 68
sanctuary 196
Le==on 10 Converting between types 79
Le==on 11 Capstone: The Vigenere cipher 88 Unlt6
Unit3DOWNTHEGOPHE日HOLE
Lesson 26 A few pointers 201
BUILDING BLOCKS
Les=on 27 Much ado aboutnil 220
Lesson 12 Functions 93
Lesson 28 To err is human 230
Le==on 13 Methods 101Lesson 29 Capstone: Sudoku rules 248
Unlt 7
CONCURRENT PROGRAMMING
Lesson 30 Goroutines and concurrency 253
Lesson 31 Concurrent state 269
Lesson 32 Capstone: Life on Mars 282
Concluslon Where to Go from here 285
Appendlx Solutions 287
Index 339
Get Programming with Go
未经允许不得转载:finelybook » Get Programming with Go
相关推荐
- Algebraic Topology: Constructions, Retractions, and Fixed Point Theory
- Combating Cyberattacks Targeting the AI Ecosystem: Assessing Threats, Risks, and Vulnerabilities
- Linear Algebra: Vector and Inner Product Spaces
- Linear and Nonlinear Optimization Using Spreadsheets: Examples for Prescriptive, Predictive and Descriptive Analytics
- Data Centre Management
- Numerical Simulation and Computational Methods in Toroidal Physics with Python