Go Programming Language: Your comprehensive guide to learn all the basics of the Go programming language, step by step by John Peterson
English | 2022 | ISBN: N/A | ASIN: B0BRF8TF9L | 110 pages | EPUB | 0.57 Mb
Go includes a number of features such as its standard library, package management, static typing, support for testing as well as its platform independence. Go's standard library is based off the use of distributed packages. Package management refers to how Go will manage support for user-based and external package management. Packages can be published using a small set of commands. Static typing is a type system that ensures conversions and compatibility while avoiding the issues that come with dynamically typed languages. Go also supports unit tests to run in parallel with written code. In addition, due to Go's modular design, the code can be compiled onto almost any platform.More specifically, Go uses lightweight processes that enable concurrent processing and behave like threads. The syntax will mimic patterns commonly seen in dynamic languages. Golang favors composition interfaces over inheritance. Some of Go's tools worth highlighting are its "Gofmt" feature that automatically formats and indents code for readability, "Go run" that compiles and runs code simultaneously, "Go get" that seamlessly integrates with GitHub and "Godoc" that generates HTML-based documentation according to the code structure and developer comments.This book covers the motivation for and context of all new Go features (covering both language and library), providing many examples and unique background information for application programmers as well as for library developers. The focus is on how these features impact day-to-day programming, what effect combining features can have, and how you can benefit from them in practice.
Code:
Bitte
Anmelden
oder
Registrieren
um Code Inhalt zu sehen!