4 ms·
"I assure readers that this kind of problem is only faced by beginners" I disagree. I've even brought this up before in passing on HN: https://news.ycombinat
by georgemcbay 13y ago
"I assure readers that this kind of problem is only faced by beginners"
I disagree. I've even brought this up before in passing on HN:
https://news.ycombinator.com/item?id=5639846 https://news.ycombinator.com/item?id=5639846
I've written many thousands of lines of Go code and have been using the language for more than a year and I still think the gist of the author's argument is a valid pain point when it comes to Go documentation. I'm now very familiar with the standard Go library, so the problem doesn't impact me as much as it used to, but I do find auto-generated Go documentation for new libraries I haven't yet used to be much harder to get a quick mental overview of than code autogenerated from other languages I've programmed in (including languages which are OO, functional or procedural).
Go is still my favorite language to program in, but I think there is a valid issue here (one that can be fixed with improved tooling)
- MetaCosm 13y agoI am someone who has shipped code in many "less popular" languages (Erlang, Eiffel, Lisp...) and am currently exploring / building apps with Go. As someone with some actually time with Golang, could you elaborate on the pain point a bit? I had a similar issue on my first toy program with Golang, but found it trivial to check the implemented methods, or assign it and let the compiler blow up if it doesn't fulfill the needs.