Re:Esoteric C++ Contest 2018
by foobiekr on Saturday March 23, 2019 @03:22PM
(#19471919)
with the exception of scope-based resourcing, that basically describes Go.
[ Parent
| on HN ]
Yes I've heard people remark that Go is basically Google's C++ style guide distilled into a new programming language... It's not 100% true but there's definitely some truth to it :)
Not having exceptions is a big similarity. Go slices and StringPiece are essentially the same idiom. There's a lot of vector<> and map<> which leads to builtin arrays and maps, rather than having arbitrary user-defined data structures (i.e. no operator overloading). gofmt was definitely inspired by Google's code review process.