3 ms·
I expect it to implement features that have become ubiquitous in every other mainstream language from the last 30 years, yes.
by treyd 2y ago
I expect it to implement features that have become ubiquitous in every other mainstream language from the last 30 years, yes.
- Thaxll 2y agoThat's how you end up with C++ and soon C#.
- pjmlp 2y agoWe also end up with C23, Fortran 2023, COBOL 2023, Scheme R7RS,... even those oldies embrace modern ideas.
- miohtama 2y agoWhen we can call it Go++
- biorach 2y agoNo, the person you were replying to was advocating for the intersection of ubiquitous features. C++ seems to be aiming for the union.
- School-Cotton 2y agoIt’s really not. The strawman that if we add a few features that have stood the test of time in every other language we’ll end up with C++ is just not true. Nobody is proposing adding SFINAE-based conditional compilation, rvalue references, multiple inheritance, or any of the million other Byzantine features that make C++ virtually impossible to use correctly. Adding sum types and a match statement does not necessarily start you down that path.
- randomdata 2y agoBut then what purpose would it serve? The last 30 years has brought no lack of new languages, not to mention evolution of older languages. Just use one of them. The purpose of creating yet another language with Go was to break from what everyone else was doing, to see if a "simple" language would stop developers from playing with fun language toys all day to instead focus on actual engineering. Arguably it was successful in that.
- pjmlp 2y agoThe purpose was to get rid of C++ compile times and replace C++ with Go, failing that, they decided to pivot the story. https://commandcenter.blogspot.com/2012/06/less-is-exponentially-more.html https://commandcenter.blogspot.com/2012/06/less-is-exponenti... They also got lucky with Docker and Kubernetes, pivoting from Python and Java respectively into Go.
- randomdata 2y agoNumerous languages already got rid of C++ compile times. That didn't necessitate another one. Certainly Go wouldn't want C++ compile times any more than any other language, but as far as justifying its creation that would not be sufficient justification alone. Legend has it that Go was conceived while waiting for a C++ program to compile, if that's what you are thinking of?