7 ms·
> which means a lot of copy and paste 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 r
by CatDevURandom 12y ago
> which means a lot of copy and paste
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.
- rubiquity 12y ago> 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.
- CatDevURandom 12y agoSure! In order: A Debugger. Better IDE options. Binary sizes small enough to use for embedded programming. Pauseless Garbage Collector. Less awkward variable declaration.
- bsg75 12y ago> A Debugger https://golang.org/doc/gdb https://golang.org/doc/gdb (some limitations IIRC) https://github.com/derekparker/delve https://github.com/derekparker/delve (a work in progress, but promising)
- cgag 12y agoAll 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.
- sigmaml 12y agoI documented a real-life experience here: http://oneofmanyworlds.blogspot.in/2014/01/another-go-at-go-failed.html 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.