>It was a mistake how C++, Java and other languages forgot to split interface declaration from implementation definition
Huh? C++ is split into header files (interface) and cpp files (implementation)...
Huh? C++ is split into header files (interface) and cpp files (implementation)...
It does enable header-only libraries though.