C++ | GO |
It is an object oriented programming language. | It is a procedural programming language. |
It uses true, false and bool. | It has logical operators instead of Boolean. |
It has support for multiple inheritance. | It has no support for inheritance. |
It has support for class with constructors. | It has no support for class with constructors. |
It has do-while and while statements. | It has no do-while or while statements. |
It supports function overloading. | It has no support for function overloading. |
It is open source project 2.0. | It is licensed under the BSD license. |
It support Parametric polymorphism which is checked at compile time. | It does not support Polymorphism. |
It is developed by Bjarne Stroustrup | It is developed by Robert Griesemer, Rob Pike and Ken Thompson |
It is first appeared in 1985 | It is first appeared in November 10, 2009 |
It is only static type. | It is both static and strong type. |
In C++, both struct and classes are same. | Go does not support these class based declarations. |
It has Standard Template Library. | It does not have Standard Template Library. |
It supports encapsulation. | It does not support encapsulation. |