>
One of the things I keep reading about functional languages is how they make reasoning about code easier and how this is particularly useful for distributed systems. Given that Go was built by Google specifically for the purposes of building distributed systems, why isn't it functional?1) Who said that what you "keep reading" about functional language is true?
2) Even if true, who said that what you "keep reading" about functional language is true in all cases?
3) Who said other factors don't come at play, and might be even more important?
4) Who said a language has to adopt functional principles wholesale, and isn't it enough that it has some (as languages increasingly get)?
5) Doesn't the IT industry always find some methodology to hype as the silver bullet, much akin to the diet industry? Maybe functional programming is one of them?
6) If you don't have personal experience with functional languages or can't personally appreciate whether they really do make "reasoning about code easier", why take what you read about them at face value? Perhaps they miss something?
7) To argue on the other side, who said that when a large company builds something, they get it right? Often it's the inverse.
8) Who said Go was built "by Google" in the strong sense? Go was a rogue project from a small team AT Google. It wasn't an official Google effort (the way Java was for Sun, .NET for MS, and so on) to make an official Google language. It's just that that group was concerned with "what language features would be a good fit for the work with do here at Google" -- but the inverse is not true, Google as a company/management/etc wasn't concerned with building such a language. They just went ahead with people devoting time to the project.
9) Who said the Go team has kept with the times (or even with older but still relevant PL research)?
What I write above are not answers and are not meant to
be "the truth", they're meant to make one see the situation more critically.