Post AadVCWpnrGgRK2BON6 by anticrisis@hachyderm.io
(DIR) More posts by anticrisis@hachyderm.io
(DIR) Post #Aad4SkaPnd6nqMUnfU by galdor@emacs.ch
2023-10-10T14:02:08Z
0 likes, 0 repeats
Guess what is printed here. Yes the Go type system is completely broken, act surprised.
(DIR) Post #Aad6pjdLhvEzSQxJwW by louis@emacs.ch
2023-10-10T14:28:40Z
0 likes, 0 repeats
@galdor "You just do not understand it correctly!" 😉​
(DIR) Post #AadCtNx8rDaF6DKzFw by troi@techhub.social
2023-10-10T15:36:35Z
0 likes, 0 repeats
@galdor go: a good idea encruftifying itself into badness
(DIR) Post #AadVCWpnrGgRK2BON6 by anticrisis@hachyderm.io
2023-10-10T19:01:44Z
0 likes, 0 repeats
@galdor But you're intentionally bypassing the type system by using `interface{}`. It's like type `t` in Common Lisp, the root of all types. Or `any` which I think was introduced with Go Generics. I'm not a type expert so I don't see the problem with specifying the root of all types sometimes.