Re:Go generics may use square brackets [] not parenthesis ()
by Jach on Wednesday July 15, 2020 @02:17AM
(#23841934)
I still find the most insightful Rob Pike statement (and the one that maybe induces a bit of forgiveness) that can give an idea for why Go is the way it is to be from this slightly older talk:
"The key point here is our programmers are Googlers, they're not researchers. They're typically fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They're not capable of understanding a brilliant language but we want to use them to be able to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt."
https://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2014/Fr... at 20:33
Re:Go generics may use square brackets [] not parenthesis ()
by perryizgr8 on Wednesday July 15, 2020 @06:50AM
(#23843474)
Wow that's really condescending.
Re:Go generics may use square brackets [] not parenthesis ()
by asa4akj on Wednesday July 15, 2020 @09:08AM
(#23844634)
yes, but it isn't false
Re:Go generics may use square brackets [] not parenthesis ()
by uryga on Wednesday July 15, 2020 @10:13AM
(#23845481)
i mean... it's at least a bit surprising. the programming course at my uni (java) got to generics within the first year... i'm sure the hiring requirements at google are a bit higher than that?
Re:Go generics may use square brackets [] not parenthesis ()
by asa4akj on Friday July 17, 2020 @11:50AM
(#23871824)
and got people worrying about such generic things instead of the problem.
It's not the fact that its hard or not, it's just yet another thing to keep in mind when you should be solving issues. Managing time is important, juniors no matter how smart, are juniors because they were not part of the industries before, they are getting the hang of having stuff in production and maintaining it, also managing time to ship, how much "generic" should the code be.
Go just makes you productive by removing lots of things to think about. I'm not saying that generics should or shouldn't be part of v1, I'm just saying that go lacking features to make juniors more productive is a feature
Re:Go generics may use square brackets [] not parenthesis ()
by entha_saava on Wednesday July 15, 2020 @02:11AM
(#23841898)
As opposed to us who only use features developed by Bell labs.
"Java, JavaScript (ECMAScript), Typescript, C#, C++, Hack (PHP), and more [...] actively borrow features from one another. They are converging into a single huge language." [0]
[0] https://www.dotconferences.com/2015/11/rob-pike-simplicity-i...