Quantcast

Programming In Go

May 26, 2012
Image Credit: Photos.com

Derek Walter for RedOrbit.com

Google´s programming language, Go, reached a major milestone recently, graduating to version 1.0 (the team behind the project has dubbed it Go 1).

Those looking to dive into programming in Go have two new books to consider: “Programming in Go: Creating Applications for the 21st Century” by Mark Summerfield, and its companion “The Go Programming Language Phrasebook” by David Chisnall. Both are developers who have authored other books on programming.

Go is the work of an internal Google project that began in 2007. Three years ago it went open source, with ongoing development from the original Google team and other contributors. It seeks to be a computer language built for the 21st century, focusing on efficiency for large-scale applications.

Given its ambitious mission, author Summerfield has written the book for those with programming experience in other languages that wish to also add Go to their repertoire.

Those coming to Go should have some experience with C, C++, Java, Python, or another similar language. This is not one of those books that someone can pick up and expect to start coding with no background. However, those with a strong background will be able to pick it up and get started on a series of projects right away.

Given this, the several examples of live code are highly useful. This is the strongest feature of both the main text and phrasebook (although there are less in the latter). Yet in both there are plenty of snippets that will help readers code in their own examples or variations to be sure they have mastered the specific lesson or project they are working on.

The phrasebook is a useful supplement, providing with it many hints and tricks for those who may need additional guidance with variables, strings, or arrays and slices. There are also several screen shots of snippets of code to further explain the lessons.

In a release, publisher informIT said the book would be useful for:

- Quickly getting and installing Go, and building and running Go programs

- Exploring Go´s syntax, features, and extensive standard library

- Programming Boolean values, expressions, and numeric types

- Creating, comparing, indexing, slicing, and formatting strings

- Understanding Go´s highly efficient built-in collection types: slices and maps

- Using Go as a procedural programming language

- Discovering Go´s unusual and flexible approach to object orientation

- Mastering Go´s unique, simple, and natural approach to fine-grained concurrency

- Reading and writing binary, text, JSON, and XML files

- Importing and using standard library packages, custom packages, and third-party packages

- Creating, documenting, unit testing, and benchmarking custom packages

Programming with Go is for those that want to be on the verge of something new. As a new programming language, it carries the excitement of pioneering a different concept, yet the uncertainty of how it will turn out in the future.


Source: Derek Walter for RedOrbit.com



comments powered by Disqus