R
R
Rouslan9432021-04-26 01:44:28
go
Rouslan943, 2021-04-26 01:44:28

Do design patterns apply in Go?

And are they really needed in golang??

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dimonchik, 2021-04-26
@dimonchik2013

in the usual sense, no, since there are no classes - objects,
but it is worth replacing classes with custom types, when suddenly
https://habr.com/ru/post/243593/
https://habr.com/ru/post/225907/
so that yes, the patterns are quite applicable, do not copy-paste with sheets

U
uvelichitel, 2021-04-26
@uvelichitel

Idiomatic code is written in Go

1
12rbah, 2021-04-26
@12rbah

apply There are several books even about them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question