top | item 24054952

(no title)

jfkebwjsbx | 5 years ago

C++ and Go are different languages with different goals.

Why would a C++ programmer learn Go? They should learn Rust since it is pretty much a cleaned up, modernized C++.

discuss

order

zeroc8|5 years ago

There are a million things. Fast compile times, UTF8 strings by default, easy concurrency, great standard libraries.

And the most important thing - I can easily read and understand the code written by others.

rumanator|5 years ago

> Why would a C++ programmer learn Go?

Perhaps to find a new reason to hate a programming language thanks to Go's GOPATH.

supergirl|5 years ago

rust is just new, not too bloated, YET. long way to go until it can be seen as a "better C++".

jfkebwjsbx|5 years ago

Agreed, it is lacking tooling support and many other things, but it is a cleaner C++. That plus the borrow checker are its two major features. Otherwise, nobody would use it and their designers would have done a pretty bad job given the 30 years of experience they had from C++!