This chapter does not provide a complete introduction to Go, in particular, it is not intended to replace the language description2E Rather, it deals with aspects of Go that are not directly apparent from the documentation of the Go developers, namely, how fundamental software engineering principles can be implemented in Go. The package concept is explained and it is shown how abstract data types can be realized as packages. This is followed by considerations on the concept of variables or objects and the distinction between value and reference semantics—a central point in OOP.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Aspects of Go

  • Christian Maurer

摘要

This chapter does not provide a complete introduction to Go, in particular, it is not intended to replace the language description2E Rather, it deals with aspects of Go that are not directly apparent from the documentation of the Go developers, namely, how fundamental software engineering principles can be implemented in Go. The package concept is explained and it is shown how abstract data types can be realized as packages. This is followed by considerations on the concept of variables or objects and the distinction between value and reference semantics—a central point in OOP.