Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
And then the philosophy of Go is completely nuts. They are trying to be 'simpler' but it instead results in lots and lots of cruft.
Posted Apr 4, 2013 4:08 UTC (Thu) by imgx64 (guest, #78590)
Java? What does Go have in common with Java?
Go didn't even start its life as "something from Google" (unlike Dart for example). It started as a 20% project by Rob Pike, Ken Thompson, et al. then other developers at Google started using it because they found it a good fit for their problems.
> having mutable variables by default and the common heap.
Like I said, "practical"--that's how computers work.
> And then the philosophy of Go is completely nuts. They are trying to be 'simpler' but it instead results in lots and lots of cruft.
What kind of cruft are you objecting to? make()? append() and friends?
I agree they're not orthogonal, and to an outsider, they feel like a kludge for the lack of generics. But after using them for a while, they don't bother me much. And the simplicity of the rest of Go more than makes up for any conceived "cruft".
Posted Apr 4, 2013 4:13 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
>Like I said, "practical"--that's how computers work.
No it isn't. CPUs now quite often have their own local memory so having explicit support for local arenas is becoming essential.
> What kind of cruft are you objecting to? make()? append() and friends?
The idiotic error handling with tuples. For example. Then the whole generics fiasco.
From what I'm seeing, a lot of Go code out there simply has no error handling - it either works or fails mysteriously.
Posted Apr 8, 2013 7:53 UTC (Mon) by nix (subscriber, #2304)
That's C's style you're seeing, not Java, which is not surprising given who its authors are.
I'm afraid most of your criticisms are heavy on vituperation and light on facts, or anything that would suggest what you find wrong (naming features and calling them 'fiascos' does not satisfy).
Posted Apr 8, 2013 10:21 UTC (Mon) by Cyberax (✭ supporter ✭, #52523)
My favorite language which tries to avoid it is Python.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds