News for hackers. Stuff that matters.
Re:What's the role of Go in a universe where Rust exists? by naikrovek on Wednesday February 10, 2021 @09:17PM (#26097486)
Well, if you have an unexplained hatred for typing double colons five times per line of code, as I do, Go allows you to not do that.

Rust::Forces::Them<Colons>::Everywhere::AllTheTime();

Re:What's the role of Go in a universe where Rust exists? by metreo on Wednesday February 10, 2021 @10:55PM (#26098086)
Honestly it's certainly not the worst language construct?
Re:What's the role of Go in a universe where Rust exists? by naikrovek on Wednesday February 10, 2021 @11:32PM (#26098279)
It's not the worst, but for me, it is easily the most hated. It's a stupid thing to get hung up on, I know. For some reason my hands don't like to type colons, even though semicolons and shift keys alone are just fine. I just hate typing colons. Feels lazy to adopt a C++ construct when you are trying to produce something to replace C++, anyway.

There was an opportunity to choose something less C++-like but someone thought "I'm used to doing this because of C++, so I'll keep the double colon" and kept it around. Ok, that's fine, and I'm gonna keep talking trash about Rust, because I'm used to doing it because of C++.