Writing tooling for C++ is difficult because of how entangled all the language&#x27;s features are (and its wonky grammar certainly doesn&#x27;t help). In addition C++&#x27;s type system is probably even weaker than Go&#x27;s, having inherited a lot of slop from C.<p>That said, if you&#x27;re talking about source code formatters, I&#x27;m pretty sure that clang-format predates gofmt (and surely clang-format was not the first automatic source code formatter for C++). The coup for Go was that they got the community at large to standardize upon and champion gofmt, which is not something that C++ has ever matched.