Главная
Study mode:
on
1
Go Anti-patterns
2
Idiomatic Go
3
#2 Simplicity
4
#3 Readability
5
Anti-pattern: Tiny Package Syndrome
6
Anti-pattern: Premature Exportation
7
Anti-pattern: package util
8
Anti-pattern: Config Structs
9
Anti-pattern: context. Value
10
Anti-pattern: Asynchronous APIs
11
Anti-pattern: If - Then - Else
12
Anti-pattern: Panic In a Lib
13
Anti-pattern: Interface all the things
14
Anti-pattern: interface{}
15
Orthogonality
Description:
Explore common Go anti-patterns and learn how to write more idiomatic code in this 38-minute conference talk from GopherCon 2017. Delve into the concept of "Idiomatic Go" and discover why certain practices should be avoided. Examine topics such as simplicity, readability, tiny package syndrome, premature exportation, config structs, and asynchronous APIs. Gain insights on refactoring techniques to improve code quality and maintainability. Learn to recognize and avoid pitfalls like overuse of interfaces, excessive use of panic, and the interface{} type. Understand the importance of orthogonality in Go programming and how it contributes to writing cleaner, more efficient code.

Go Anti-Patterns

Gopher Academy
Add to list
0:00 / 0:00