3 ms·
with the exception of scope-based resourcing, that basically describes Go.
by foobiekr 8y ago
with the exception of scope-based resourcing, that basically describes Go.
- chubot 8y agoYes 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.