News for hackers. Stuff that matters.
Re:Why people in Google hate Go? by usrbinbash on Friday November 03, 2023 @07:48AM (#38127320)
The fact that Go doesn't have C's macros alone already makes it a lot simpler.

And please don't get me started on writing concurrent code in C.

Re:Why people in Google hate Go? by EnergyAmy on Friday November 03, 2023 @09:41AM (#38128619)
`//go:generate` is far worse than C's macros
Re:Why people in Google hate Go? by saturn_vk on Friday November 03, 2023 @10:29AM (#38129330)
That's just a glorified make rule. There's nothing inherently hidden or complex that it generates, unlike macros
Re:Why people in Google hate Go? by majewsky on Friday November 03, 2023 @10:59AM (#38129801)
I have written Go professionally for close to 10 years. The only time I encountered go:generate is in yacc parsers deep within libraries. A regular Go developer might go for years without realizing that it even exists. Compare this to C macros.