D is a rethinking of C++.
Go is a re-imagining of C++.
D is a rethinking of C++.
Go is a re-imagining of C++.
It's not just about classes; it's also about concurrency.
Although D2 did have some concurrency ideas, I think Go does a much better job at figuring out how to solve concurrency problems on modern hardware.
D took C++ and improved upon it.
Go went back to C and said, "what if C++ had never existed".
- Modern web servers - Modern multi-core CPUs
None of which existed in 1981
And in 1981 there were already application servers, running in multiprocessor machines using Multics, UNIX and VMS, just to name a few operating systems.
Personally I see Go as a better C, nothing more.
But still, at least, they weren't as common place as they are now.
Which is a good thing, right?
By placing the contract at the use of a type with an interface rather than at the declaration of a type you effectively introduce a form of duck typing to a static language.
You can write an interface for a type long after the type has been declared (or been declared by someone else). Interfaces can be defined and used without having to go back and change existing code. This is very lightweight.
To be even more pedantic than yourself, I would like to point out that everything that can be expressed is an idea. For us to have a word we must have a meme. A noun and the idea of a noun are inseperable. Even mathematics is language that conforms to this rule.
jus'sayin'…
Very little of substance has been invented in programming languages since Lisp was created in the 1950s. It has mostly been syntax.
C itself is an early 1970s language based on ideas from the 1960s. It has been the backbone of serious computing for nearly 40 years. It is 1970s programming technology that works.
One of the few 'new' things to arrive was Tony Hoare's CSP (in 1978). Go takes this idea and builds an effective implementation of it onto a C-like language with minimal noise.
Go then adds the a tiny amount of syntax to C to have a layer of Object Orientation. This is not a 'modern' 1980s style of OOP like C++ uses, rather it is the 1970s OOP of Alan Kay and Smalltalk.
So it it insulting to say that 'Go attempts to solve these new ideas with 1980s programming language technology'.
If anything, Go is 1970s technology.
Go has very little to do with OO Smalltalk style.
The only new language that has a very close to Smalltalk OO style is Ruby.