Re:Why are my Go executable files so large?
by shaklee3 on Sunday December 29, 2019 @09:30PM
(#21910302)
It seems like this can only be a con if other languages give you a choice. In other words, in C++ you can decide that your debug and release are the same, or you can make them different if you know what you're doing (like a good IDE does).
[ Parent
| on HN ]
Re:Why are my Go executable files so large?
by firethief on Sunday December 29, 2019 @10:35PM
(#21910618)
Having more options is inherently better in C++, a language designed to reward mastery. Having fewer choices is better in Go, a language designed to make onboarding a new developer easy.
Re:Why are my Go executable files so large?
by erik_seaberg on Monday December 30, 2019 @03:33AM
(#21911732)
For any given tool you're going to spend most of your career at the top of its learning curve, so it doesn't make sense to weaken the tool to optimize for the brief period when you weren't.
Re:Why are my Go executable files so large?
by firethief on Tuesday December 31, 2019 @01:36PM
(#21923249)
As a developer I agree with you, but I think if I were a FAANG I'd be thinking: developers are crazy expensive, how can I commodify them? Every C++ developer is unique. There's endless variety of language subsets and build situations. It takes enormous investment to bring someone up to speed on a project, and only mandating a heavily-restricted subset of the language can make teaching it to fresh college grads practical. These are exactly the things Go is designed to avoid.
Re:Why are my Go executable files so large?
by umanwizard on Sunday December 29, 2019 @10:37PM
(#21910631)
In my experience, new developers are not normally charged with determining the details of build flags, deployment systems, etc.
Re:Why are my Go executable files so large?
by dodobirdlord on Sunday December 29, 2019 @11:10PM
(#21910744)
Not to be too judgmental, because I recognize that every organization has its own way, but that sounds like a sign of organizational disfunction.
Re:Why are my Go executable files so large?
by umanwizard on Sunday December 29, 2019 @11:20PM
(#21910780)
I just mean, when you join an existing project, most of that would already be set up.
In every project I’ve been on, I was asked to ramp up in the first few weeks by fixing small bugs here and there in the core codebase, not by setting up CI/makefiles/build infra/etc...
I actually think I might be totally missing your point, since I don’t really understand what you mean or how you arrived at the conclusion that it’s a sign of dysfunction.
Re:Why are my Go executable files so large?
by HeWhoLurksLate on Monday December 30, 2019 @07:55AM
(#21913017)
I hope that's how it would work for me- getting the task of setting up makefiles on the first day- before I know anything about the codebase- would feel pretty daunting, to say the least.