Harsanyi T. - 100 Go Mistakes and How to Avoid Them / 100 ошибок на Go, и как их избегать [2022, PDF, ENG]

Страницы:  1
Ответить
 

DSokolov.MK

Стаж: 17 лет 3 месяца

Сообщений: 146


DSokolov.MK · 07-Мар-23 20:40 (2 года 6 месяцев назад, ред. 09-Мар-23 20:45)

100 Go Mistakes and How to Avoid Them / 100 ошибок на Go, и как их избегать
Год издания: 2022
Автор: Teiva Harsanyi
Издательство: Manning
ISBN: 9781617299599
Язык: Английский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 385
Описание: 100 Go Mistakes and How to Avoid Them contains 100 common mistakes made by Go developers when working with various aspects of the language. It focuses heavily on the core language and the standard library, not external libraries or frameworks. The discussions of most of the mistakes are accompanied by concrete examples to illustrate when we are likely to make such errors. It’s not a dogmatic book: each solution is detailed to convey the context in which it should apply.
This book is for developers with existing knowledge of the Go language. It doesn’t review basic concepts such as syntax or keywords. Ideally, you have already worked on an existing Go project at work or home. But before delving into most topics, we make sure the foundations are clear.
Эта книга содержит 100 распространенных ошибок, допускаемых разработчиками Go при работе с различными аспектами языка. Он в значительной степени сосредоточен на основном языке и стандартной библиотеке, а не на внешних библиотеках или фреймворках. Обсуждения большинства ошибок сопровождаются конкретными примерами, иллюстрирующими, когда мы можем совершать такие ошибки. Это не догматическая книга: каждое решение детализировано, чтобы передать контекст, в котором оно должно применяться.
Эта книга предназначена для разработчиков, уже знакомых с языком Go. Она не рассматривает основные понятия, такие как синтаксис или ключевые слова. Идеально, если вы уже работали над существующим проектом Go на работе или дома. Но прежде чем углубляться в большинство тем, мы удостоверимся, что основы ясны.
Примеры страниц
Оглавление
Chapter 1, “Go: Simple to learn but hard to master,” describes why despite being considered a simple language, Go isn’t easy to master. It also shows the different types of mistakes we cover in the book.
Chapter 2, “Code and project organization,” contains common mistakes that can prevent us from organizing a codebase in a clean, idiomatic, and maintainable manner.
Chapter 3, “Data types,” discusses mistakes related to basic types, slices, and maps.
Chapter 4, “Control structures,” explores common mistakes related to loops and other control structures.
Chapter 5, “Strings,” looks at the principle of string representation and common mistakes leading to code inaccuracy or inefficiency.
Chapter 6, “Functions and methods,” explores common problems related to functions and methods, such as choosing a receiver type and preventing common defer bugs.
Chapter 7, “Error management,” walks through idiomatic and accurate error handling in Go.
Chapter 8, “Concurrency: Foundations,” presents the fundamental concepts behind concurrency. We discuss topics such as why concurrency isn’t always faster, the differences between concurrency and parallelism, and workload types.
Chapter 9, “Concurrency: Practice,” looks at concrete examples of mistakes related to applying concurrency when using Go channels, goroutines, and other primitives.
Chapter 10, “The standard library,” contains common mistakes made when using the standard library with HTTP, JSON, or (for example) the time API.
Chapter 11, “Testing,” discusses mistakes that make testing and benchmarking more brittle, less effective, and less accurate.
Chapter 12, “Optimizations,” closes the book by exploring how to optimize an application for performance, from understanding CPU fundamentals to Go-specific topics.
Для профессионалов - Тейва Харшани - 100 ошибок Go и как их избежать [2024, PDF, RUS]
Download
Rutracker.org не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм
Как скачивать? (для скачивания .torrent файлов необходима регистрация)
[Профиль]  [ЛС] 

kubmaster

Стаж: 11 лет 2 месяца

Сообщений: 2


kubmaster · 17-Авг-23 22:38 (спустя 5 месяцев 10 дней)

bebe1346 писал(а):
850760701) ошибка N1 - программировать на golang
очень сомнительное утверждение!!!
[Профиль]  [ЛС] 
 
Ответить
Loading...
Error