Hacker News new | ask | show | jobs
by misframer 4127 days ago
Sure, but that's not specific to any language. Is it Go's fault that package writers work a certain way?
2 comments

Go encourages working in that way, so yes, it is.

With other languages, you might do code generation through powerful macros (e.g. as rust has) or some other tooling which is not literally just "run a program in the user's path".

My point is that `go generate` requires more than just source, and thus isn't "simpler" in the manner claimed in the article.

I'm not judging the existence of `go generate` or it's merits relative to some other environments. Except makefiles. Makefiles are worse.