Go Anti-Patterns - Edward Muller

  Рет қаралды 31,175

Gopher Academy

Gopher Academy

Күн бұрын

Пікірлер: 21
@homolkao
@homolkao 5 жыл бұрын
7:30 - Tiny Package Syndrome 9:23 - Premature Exportation 12:14 - Package util 13:43 - Config Structs 18:32 - Pointer All The Things 19:44 - context.Value 21:45 - Asynchronous APIs 23:45 - If - Then - Else 26:35 - Panic In a Lib 28:21 - Interface All The Things 32:21 - Naked Return Values 33:38 - interface{}
@ibrahimblake1219
@ibrahimblake1219 3 жыл бұрын
A tip : watch series on flixzone. Me and my gf have been using it for watching a lot of movies lately.
@keatondavion6706
@keatondavion6706 3 жыл бұрын
@Ibrahim Blake Definitely, have been using flixzone for since november myself :)
@jasperjoseph872
@jasperjoseph872 3 жыл бұрын
@Ibrahim Blake yup, been watching on Flixzone for years myself :)
@vimalk78
@vimalk78 6 жыл бұрын
Go Anti Patterns slide at 7:09
@fredoverflow
@fredoverflow 7 жыл бұрын
The aspect ratio of the video doesn't seem right to me...
@bankqian
@bankqian 7 жыл бұрын
It's obviously a practical joke, "anti-pattern"
@bradjohnson2842
@bradjohnson2842 7 жыл бұрын
:\
@kozlovskyi
@kozlovskyi 6 жыл бұрын
Thanks. That's cured me of the "tiny-packages" syndrome.
@balanatarajan1892
@balanatarajan1892 7 жыл бұрын
Shouldn't the package names be nouns instead of verbs?
@jack-d2e6i
@jack-d2e6i 7 жыл бұрын
I would say it's more important that your package name has semantic meaning. "util" is akin to "interface{}": it says literally nothing. "generate" says "this package contains behaviours for generating things". That being said you could probably put "generateRandomBytes(..)" and "generateRandomString(..)" into package "rand" and "generateCert(..)" into package "cert".
@rajendragosavi2233
@rajendragosavi2233 3 жыл бұрын
Where can I get slides?
@tjholowaychuk4646
@tjholowaychuk4646 7 жыл бұрын
Hmm I'm not sure I agree with all of these. Personally I think it's nicer to split packages by domain, not what they happen to implement (context etc).
@jack-d2e6i
@jack-d2e6i 7 жыл бұрын
Yeah he says "name packages based on purpose not contents"
@ЕвгенийПоляков-п7р
@ЕвгенийПоляков-п7р 5 жыл бұрын
Doesn't It look like an anti-pattern if you named your presentation slide "Anti-pattern:.." and then explain best-practices within it? :)
@spacemanspiff85
@spacemanspiff85 9 ай бұрын
lol. I feel attacked.
@TiborVass
@TiborVass 7 жыл бұрын
The credit for functional options should go to Rob Pike.
@jack-d2e6i
@jack-d2e6i 7 жыл бұрын
Tibor Vass and I'm sure Rob got the idea from somewhere else.
@TiborVass
@TiborVass 7 жыл бұрын
jack mordaunt I doubt he took it as is in Go from someone else. He would have mentioned the person just like Dave Cheney mentioned Rob Pike. It's likely he got inspiration from someone else but that's not always conscious.
@blanklastname7628
@blanklastname7628 7 жыл бұрын
Every feel like you just watched a commercial for an employer disguised as a tech talk?
@jub0bs
@jub0bs 2 жыл бұрын
18:00 The type declaration is missing the type name. Presumably, it should read 𝚝𝚢𝚙𝚎 𝙾𝚙𝚝 𝚏𝚞𝚗𝚌(*𝚃𝚑𝚒𝚗𝚐) 𝙾𝚙𝚝
Golang UK Conference 2017 | Arne Claus - Concurrency Patterns in Go
31:52
Golang UK Conference 2016 - Dave Cheney - SOLID Go Design
27:30
GopherCon UK
Рет қаралды 109 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Functional Programming in Go - Aaron Schlesinger
35:28
Gopher Academy
Рет қаралды 14 М.
Asynchronous Networking Patterns - Filippo Valsorda
43:22
Gopher Academy
Рет қаралды 24 М.
The Future of Go - Russ Cox
24:37
Gopher Academy
Рет қаралды 83 М.
Golang UK Conference 2016 - Mat Ryer - Idiomatic Go Tricks
27:57
GopherCon UK
Рет қаралды 69 М.
Ashley McNamara + Brian Ketelsen. Go best practices.
39:53
GopherCon Russia
Рет қаралды 52 М.
Build Your Own Distributed System Using Go - Philip O'Toole
42:32
Gopher Academy
Рет қаралды 10 М.
Concurrency made easy - GopherCon SG 2017
27:47
Singapore Gophers
Рет қаралды 26 М.
Understanding Channels - Kavya Joshi
21:45
Gopher Academy
Рет қаралды 118 М.
Clean Up Your GOOOP: How to Break OOP Muscle Memory - Dylan Bourque
33:21
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19