The Go Programming Language(Addison,2015)

时间:2019-03-18 07:19:52
【文件属性】:

文件名称:The Go Programming Language(Addison,2015)

文件大小:6.59MB

文件格式:PDF

更新时间:2019-03-18 07:19:52

The Go Programming Language

The Go Programming Language is the authoritative resource for any programmer who wants to learn Go. It shows how to write clear and idiomatic Go to solve real-world problems. The book does not assume prior knowledge of Go nor experience with any specific language, so you'll find it accessible whether you're most comfortable with JavaScript, Ruby, Python, Java, or C++. The first chapter is a tutorial on the basic concepts of Go, introduced through programs for file I/O and text processing, simple graphics, and web clients and servers. Early chapters cover the structural elements of Go programs: syntax, control flow, data types, and the organization of a program into packages, files, and functions. The examples illustrate many packages from the standard library and show how to create new ones of your own. Later chapters explain the package mechanism in more detail, and how to build, test, and maintain projects using the go tool. The chapters on methods and interfaces introduce Go's unconventional approach to object-oriented programming, in which methods can be declared on any type and interfaces are implicitly satisfied. They explain the key principles of encapsulation, composition, and substitutability using realistic examples.


网友评论

  • 谢谢分享,估计与c版本一样经典
  • 很好的书,感谢。
  • 谢谢分享,估计与c版本一样经典。