News for hackers. Stuff that matters.
Re:Go + Services = One Goliath Project by smadge on Saturday December 21, 2019 @08:22PM (#21854485)
Just write an implementation of map/reduce/filter for every type in your go program!
Re:Go + Services = One Goliath Project by smadge on Saturday December 21, 2019 @08:23PM (#21854491)
Maybe you could create some text macros to simplify the process, and then run a preprocessor on your program, and then.... uh oh.
Re:Go + Services = One Goliath Project by jnwatson on Saturday December 21, 2019 @08:31PM (#21854526)
You joke, but source code generation is the standard way to generics in go. They even have some standard hooks for it in the build system.
Re:Go + Services = One Goliath Project by gray_-_wolf on Sunday December 22, 2019 @07:29AM (#21856795)
I still consider weird that results of go generate are supposed to be committed. Since when does generated code belong to the repository :/