Re:The Go Programming Language by Brian W. Kernighan, Alan D...
by cgag on Thursday March 05, 2015 @08:29PM
(#9155052)
All the for loops and array indexing you do in place of simple map / filter / reduce calls would count in my definition of copy and pasted code.
Re:The Go Programming Language by Brian W. Kernighan, Alan D...
by rubiquity on Thursday March 05, 2015 @06:32PM
(#9154648)
> Again, I don't think Go is perfect but on my list of wants, generics are not in the top 5.
Would you mind sharing your top 5 wants? I'm interested.
Re:The Go Programming Language by Brian W. Kernighan, Alan D...
by CatDevURandom on Thursday March 05, 2015 @08:15PM
(#9154994)
Sure! In order:
A Debugger.
Better IDE options.
Binary sizes small enough to use for embedded programming.
Pauseless Garbage Collector.
Less awkward variable declaration.
Re:The Go Programming Language by Brian W. Kernighan, Alan D...
by bsg75 on Friday March 06, 2015 @11:10AM
(#9157739)
> A Debugger
https://golang.org/doc/gdb (some limitations IIRC)
https://github.com/derekparker/delve (a work in progress, but promising)
Re:The Go Programming Language by Brian W. Kernighan, Alan D...
by sigmaml on Friday March 06, 2015 @01:46AM
(#9155903)
I documented a real-life experience here: http://oneofmanyworlds.blogspot.in/2014/01/another-go-at-go-....
Read the requirement, elaborate a little more by me in some of the comments, and see how the combinations I had to deal with quickly multiplied to cause high tedium.
Again, I don't think Go is perfect but on my list of wants, generics are not in the top 5. Can you qualify "a lot" in a real project you've worked on? Because after writing a good chunk (over 50k lines) of Go code, I haven't felt the sting as much as I hear it complained about.
> the lack of idiomatic way to deal with dependencies(no defacto package manager
Again, is this really a big deal? There's plenty of options, and if you are shipping any-type of commercial product you are going to want to be vendoring your dependencies in-house anyway. In which case, depending on something like NPM/remote maven repos is not a viable options anyway.