Re:Scala vs Go
by kodablah on Tuesday February 14, 2017 @12:06PM
(#13645021)
I too use Scala and Go professionally and agree with all of your points, but I want to add one. Code reuse. I am tired of copy/pasting, rewriting the same things, forcing my same-lib packages to be unidirectionally dependent, etc.
I've often contemplated what could happen if Go had syntax-extension macros that could build new AST (not go generate, and not in the same language). I believe that Go may in turn become a quality target for a better language. Not oden which didn't have any corporate backing, and from my experiences it doesn't compile fast enough or have quality enough DCE to support reasonable JVM cross compile.
I've often contemplated what could happen if Go had syntax-extension macros that could build new AST (not go generate, and not in the same language). I believe that Go may in turn become a quality target for a better language. Not oden which didn't have any corporate backing, and from my experiences it doesn't compile fast enough or have quality enough DCE to support reasonable JVM cross compile.