Effective Go Recipes: Fast Solutions to Common Tasks

Автор: literator от 21-07-2024, 12:18, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Effective Go Recipes: Fast Solutions to Common Tasks
Автор: Miki Tebeka
Издательство: Pragmatic Bookshelf
Год: April 2024 (Version: P1.0)
Страниц: 269
Язык: английский
Формат: True PDF, True EPUB (Retail EPUB)
Размер: 10.1 MB

Programmers love Go because it is lightweight, easy to work with, and easy to read. Go gives you the benefits of dynamically typed languages (speed of development) while keeping the upsides of strongly typed languages (security and performance).

Go is a simple language, but programming in Go is about more than just mastering syntax. There's an art to using Go effectively. Squeeze out the full use of advanced networking and multi-core power for which Go was designed. Save precious coding hours with recipes that help you manage objects, collect garbage, and safely use memory. Tackle Unicode, concurrency, and serialization with ease. All the clean, reusable solutions you need for a wide variety of problems common to Go development. Outfitted with these recipes, your next apps will be more polished and more maintainable than ever.

Start out by tackling time and see how the Go time packager provides types that will do most of the heavy lifting for you. Next, work on recipes tailored to the nuances of processing text, like normalizing strings to avoid bugs. From there, whip up some functions on-the-fly and store functions in variables and data structures.

Ever wondered why Go seems to be peppered with error handling? Working through the next recipes, you'll discover the benefits, which include more robust code. In the section on HTTP, you'll learn tricks like running multiple HTTP servers on the same port and setting timeouts. With concurrency recipes, you'll limit the number of goroutines to improve performance, give your code awareness of timeouts, and decide when to keep your code sequential instead of making it concurrent.

Throughout the book, you'll make Go sizzle following simple recipes and tweaking them to fit your own apps. Using tools like strong typing and concurrency primitives, build a Go codebase that stays maintainable at scale.

This book is written for Go developers (doh!). The recipes in this book vary in difficulty. Some recipes will be a good fit for a Go beginner, while others will help more advanced developers. This book won’t teach you Go—you’ll find many good books, tutorials, and courses out there for that (I teach some of them). To use this book, you should also be familiar with working in the terminal and know some client-server terms and technologies, such as HTTP and sockets.

Скачать Effective Go Recipes: Fast Solutions to Common Tasks




ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!


Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.