|
|
|
|
|
by JaimeThompson
2561 days ago
|
|
Because they wanted it to be actually usable by the vast majority of programmers developing real world solutions? Not saying that functional programming doesn't have a place but if it was as wonder as some people say it is it would take over the world because the shops that used it would way outperform those who don't but for most things that doesn't appear to happen. |
|
Functional programming is certainly better in a lot of ways, but Google wasn't trying to build a "good" language, they were trying to build a "good enough" language, which is why it doesn't really innovate, but merely pulls in familiar features into a simple package. Go isn't the best at anything, it's just good enough at several things, and very simple to learn, and that's exactly why Google uses it.