No video

GopherCon 2023: Kaylyn Gibilterra - Idiomatic Go Tells a Story

  Рет қаралды 1,772

Gopher Academy

Gopher Academy

Күн бұрын

It can be hard to put a finger on what makes some Go code idiomatic and some code functional, but not quite right. This talk will share a practice I have formed to consistently translate satisfactory Go code into delightful packages and type definitions worth bragging about.
This practice applies principles from storytelling to idiomatic Go code. We will cover how the Hero's Journey can be applied to rethinking your Go packages - complete with world design, character development, and plot points that will turn a potential drudgery of code refactoring into the creative world of story development.

Пікірлер: 2
@dawnrazor
@dawnrazor 2 ай бұрын
Your comment about where interfaces needs clarification because I think what u r claiming only applies to a specific use case. If a component requires a callback then the interface has to be defined with the component. However, if the interface is for facade purposes then it can be left to the client to define
@sealoftime
@sealoftime 6 ай бұрын
Great talk, thank you! A code example would really facilitate understanding in my opinion. Majority of enterprise Go projects I've worked with look like this: ./internal ./internal/api ./internal/models ./internal/services (the actual application logic) ./internal/db Would this storytelling approach encourage the developer to put HTTP handlers, specific database queries and domain logic in one package?
GopherCon 2023: Russ Cox - Go Changes
24:39
Gopher Academy
Рет қаралды 1,8 М.
GopherCon 2023: Joe Tsai - The Future of JSON in Go
43:21
Gopher Academy
Рет қаралды 2 М.
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 41 МЛН
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 19 МЛН
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 21 МЛН
Important Tips On How To Write Idiomatic Code In Golang
21:52
Anthony GG
Рет қаралды 22 М.
GopherCon Europe 2022:  Yarden Laifenfeld - From OOP to Go
22:58
GopherCon Europe
Рет қаралды 4,2 М.
GopherCon 2017: Sam Boyer - The New Era of Go Package Management
32:00
GopherCon 2017: Edward Muller - Go Anti-Patterns
38:14
Gopher Academy
Рет қаралды 30 М.
Stephen McQuay   Go idioms discovered building a system package manager
22:39
Idiomatic Go Naming Conventions (Golang)
8:26
Learn Go Programming
Рет қаралды 6 М.
Golang UK Conference 2016 - Mat Ryer - Idiomatic Go Tricks
27:57
GopherCon UK
Рет қаралды 68 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 152 М.
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 41 МЛН