6 ms·
Funny that the original intent for the Go creators was to not have to write C++[1] -- which of course is in the C/C++/Rust/D space -- and that Rob Pike seemed s
by Dewie3 11y ago
Funny that the original intent for the Go creators was to not have to write C++[1] -- which of course is in the C/C++/Rust/D space -- and that Rob Pike seemed surprised that more C++ programmers didn't make the switch.
The two languages seem to diverge when it comes to the fact that Walter Bright seems to like to write both expressive and high-performance code (meaning, at the same time). That kind of philosophy tends to lead to iterators, generators[2] etc. which Go seems to look at as superfluous -- just write a for loop, more or less.
[1] Write C++ for the particular software that they make, anyway.
[2] Or whatever the equivalent is in D.