> First, the name. “Go” has too many meanings and is among the world’s lousiest Google search disambiguators. Enough with this old wives tale. Yes, "Go" is too generic. Nevertheless, Google understands it just fine. Case in point: > "After a few painful instances of searching for things like “go array literals” and “go repl” I got into the habit of sticking with Golang; and so will this diary. Both his examples ("go…
The filter bubble! After you've googled enough, google starts knowing what domain you are searching in. If you search for 'array literals' you'll likely get Go results at the top rather than, say, Javascript (which is what I get, I just tried).
Golang Diaries I
11–20 of 79 posts
Re: Golang Diaries I
#12I don't find this an issue with vim using syntastic. When I save, I get notified in the gutter of issues like this and then I can use the official go vim support to do things like :Drop to remove the import without even navigating to the imports section. Syntastic picks up on most issues before you even think of compiling.
>There doesn’t seem to be a way to declare a constant array, what in a Java class I’d call final static String[] COLS = {"Red", "Blue"};
Constants in Go are evaluated at compile time and arrays don't exist at compile time. You can manage at the package level by using a unexported variable then exporting a function that returns it.
Re: Golang Diaries I
#13Earlier quoted context omitted.
The filter bubble! After you've googled enough, google starts knowing what domain you are searching in. If you search for 'array literals' you'll likely get Go results at the top rather than, say, Javascript (which is what I get, I just tried).
Click the button in the top right of the search results to turn personal search off. I get Javascript results anyway.
I sometimes wonder if they have special case code for programming-related subjects, but I guess its more general than that. Clever googlers!
Re: Golang Diaries I
#14The post is fun, thanks. I like Tim's idea of "taking the journey" with a programmer on discovering new content. It's certainly the best way to introduce the topic to others. All the potential sticking issues have been handled for you! I was also excited when he said "I filed a bug on June 6th, and it was fixed on the 12th. Gotta love that.". There is no better feeling than sending a pull request and having someone t…
I was quite surprised by that combination after reading the diary blog post, they don't really match up.
Re: Golang Diaries I
#15Agreed, this is really annoying and makes it very hard to prototype things.
Re: Golang Diaries I
#16" After a few painful instances of searching for things like “go array literals” and “go repl” I got into the habit of sticking with Golang; and so will this diary. " https://encrypted.google.com/#q=go+array+literals https://encrypted.google.com/#q=go+repl ...
Re: Golang Diaries I
#17Golang ins't all that new. I don't get it why so many articles exploring the basics get so much spotlight. It's a good language. I'd like to see more articles about things made with it and not about it.
Re: Golang Diaries I
#18Re: Golang Diaries I
#19> First, the name. “Go” has too many meanings and is among the world’s lousiest Google search disambiguators. Enough with this old wives tale. Yes, "Go" is too generic. Nevertheless, Google understands it just fine. Case in point: > "After a few painful instances of searching for things like “go array literals” and “go repl” I got into the habit of sticking with Golang; and so will this diary. Both his examples ("go…
The filter bubble! After you've googled enough, google starts knowing what domain you are searching in. If you search for 'array literals' you'll likely get Go results at the top rather than, say, Javascript (which is what I get, I just tried).
Also, I did the same in incognito mode, logged out from google account and with cookies turned off. Same results.
Re: Golang Diaries I
#20> First, the name. “Go” has too many meanings and is among the world’s lousiest Google search disambiguators. Enough with this old wives tale. Yes, "Go" is too generic. Nevertheless, Google understands it just fine. Case in point: > "After a few painful instances of searching for things like “go array literals” and “go repl” I got into the habit of sticking with Golang; and so will this diary. Both his examples ("go…
Maybe Google is tailoring your results to bring back sites that include the programming language based on a) your past searching habits and b) the emerging trends for those specific search patterns. Google's results are highly tailored, thus two people can search for the same term and get different results. Going back to the original point raised, I too have gotten into the habit of searching for " go lang [query] "…
Well, tried the same thing logged out from Google, in incognito mode and with cookies turned off. Same results.
I can also try to proxy my search to a remote VPS I never use and see what happens.
But anyway, forget the "fitler bubble". Google is smarter that the naive "Go means the verb" in all contexts.