Обложка канала

oleg_log

4503 @oleg_log

Приют для асоциальных программистов "Олег"

oleg_log

5 лет назад
Открыть в
proposal: constraints: move to x/exp for Go 1.18 Нежданчик, если честно, хотя можно найти больше пользы, чем вреда - 1.х остаётся на месте ВОТ ПРЯМ 100% и только дженерик-озабоченные полезут в x/exp пакеты. +6 месяцев спокойствия для коммюнити. https://github.com/golang/go/issues/50792 For all these reasons, it probably makes sense to move constraints to x/exp along with slices and maps for Go 1.18 and then revisit it in the Go 1.19 or maybe Go 1.20 cycle. (Realistically, we may not know much more for Go 1.19 than we do now.)
proposal: constraints: move to x/exp for Go 1.18 · Issue #50792 · golang/go

There are still questions about the the constraints package. To start with, although many people are happy with the name, many are not. On top of that, it is unclear exactly which interfaces are im...

GitHub