News for hackers. Stuff that matters.
Re:On the uses and misuses of panics in Go by majewsky on Thursday August 09, 2018 @06:28PM (#17729101)
If Go had macros, it wouldn't have been as successful as it is. The appeal of Go is that it's both very readable and very writable, even if verbose.
Re:On the uses and misuses of panics in Go by bbatha on Thursday August 09, 2018 @09:03PM (#17729897)
Go already has code generation built into the standard tooling. It also has reflection which is arguably worse because the generated code is totally opaque. Good macros would cover most of the uses cases for the tools in a more cohesive and more tooling friendly way.