At runtime, i.e. initial testing, pre-commit-checks, integration-testing, QA and then production, yes.
So there are a lot of checkpoints where the system can crash before it ever goes live.
> You think that is just as good as solving the problem at compile time?
No, I don't, and I never wrote that I do.
I do think that it's a lot better than not crashing when dereferencing a null pointer, and instead doing god-knows-what, which is a problem in older languages, and a source of hard to track bugs.
And I rather fail early and with a clear signal in production, than have a language be much more complicated by "virtue" of pretending that void pointers don't exist. Because the former will sometimes crash in testing, and maybe maybe maybe in production here and there. The latter will always incur a higher cost in developer time.
Sure the language in its totality is more complex. At least compared to Go or C. But nothing is forcing you to use every feature of it.
And yet, Go is a huge success in the industry, and one of the main reasons often given for chosing Go over a competing language, is how easy it is to get things started, how easy it makes the onboarding process, and how accessible and maintainable the code is.
> the type checking seriously helps you out when you are changing existing code
If you have Algebraic Datatypes in your codebase, which is not a given. Having a simple, easy to read language helps me out ALL THE TIME.
> But nothing is forcing you to use every feature of it.
And nothing forces C developers to use so many macros that their libraries resemble a completely different language where everything I thought I learned about C flies out the window. Nothing forces Python devs to use nested dictionary-comprehensions, that are, ironically, completely incomprehensible. Nothing forces C++ developers to use generics everywhere, regardless of whether they are actually needed or not.
And yet, that is, unfortunately, what is often happening in the wild.
The point here is; If a language offers X, then X will be used. And it will be used in smart ways, it will be used in unnecessary ways, and it will be used in not-so-smart ways. It will be used when it makes sense, and when it absolutely doesn't.
The thing the developers of Go figured out, and which, in hindsight, is surprisingly obvious, is that there is exactly one, and only one, foolproof way to prevent that from happening: By not having X in the language.
This is a discussion about whether Go "misses" things, or "lacks" things, or if it's designed to not have these things, and if there is a reason why that is.
I have demonstrated, and provided arguments, for why the latter is the case. Aka. the exact opposite of "polemic".
Success of a technology is more often than not dependent on who is behind it. Anything by google will likely see a lot of uptake.
Every language has a story. Some of it is bull some not. Best to try and be objective and not drink every drop of the koolaid.
Disagree.
> Yes, so? De-Referencing a null pointer in Go crashes the program, making the bug very obvious.
At runtime. i.e. production. You think that is just as good as solving the problem at compile time? I certainly don't.