Live data from Hacker News

Why I Program in Go

tech.t9i.in

1–10 of 171 posts

Re: Why I Program in Go

#2
Those are many of the same reasons I program in Go.

To add another:

* Go's build tools and the language's overall approach to building projects are fantastic.

For the vast majority of projects you don't need an external build manager like make. One of my least favorite bits of programming in C and C++, even when I was doing that on a daily basis years ago, was the huge morass of make/autoconf hell that would grow up around projects and would be very difficult to understand and reason about unless you were there for the entire project's development.

With Go open source projects (on git, svn, mercurial) much of the time you can just

  go get http://hosted-code-site/blah/(package)
  cd (package)
  go build
... out pops a working executable.

Re: Why I Program in Go

#4
I want to try out Go...but I have to make one initial observation...It can be somewhat hard to Google (ironically) for Go programming examples. I'm sure there's some tinkering you can do in your search query to get slightly better results, but "Go" is a difficult proper pronoun to facet a search around.

https://www.google.com/search?q=go+facial+recognition

https://www.google.com/search?q=python+facial+recognition

Re: Why I Program in Go

#5
post #4

I want to try out Go...but I have to make one initial observation...It can be somewhat hard to Google (ironically) for Go programming examples. I'm sure there's some tinkering you can do in your search query to get slightly better results, but "Go" is a difficult proper pronoun to facet a search around. https://www.google.com/search?q=go+facial+recognition https://www.google.com/search?q=python+facial+recognition

search for golang, most relevant resources will be found with this term.

Edit: also, for package discovery, godoc.org. But golang+anything usually works.

Re: Why I Program in Go

#6
post #4

I want to try out Go...but I have to make one initial observation...It can be somewhat hard to Google (ironically) for Go programming examples. I'm sure there's some tinkering you can do in your search query to get slightly better results, but "Go" is a difficult proper pronoun to facet a search around. https://www.google.com/search?q=go+facial+recognition https://www.google.com/search?q=python+facial+recognition

This was never a problem for me when I was using go. Just use golang in your search terms.

Re: Why I Program in Go

#7
post #4

I want to try out Go...but I have to make one initial observation...It can be somewhat hard to Google (ironically) for Go programming examples. I'm sure there's some tinkering you can do in your search query to get slightly better results, but "Go" is a difficult proper pronoun to facet a search around. https://www.google.com/search?q=go+facial+recognition https://www.google.com/search?q=python+facial+recognition

Golang is pretty popular to search with. Also an interesting thing to note is the main page (golang.org) has an awesome amount of information.

Couple that in with a few Google I/O videos on Youtube and you seriously have enough information that you almost don't have to Google for anything.

Re: Why I Program in Go

#8
I just can't get that hyped about Go, but I will tell you (as a Rubyist, primarily) I've really been enjoying Rust. While they're not directly competing, my experience is similar to the author's PHP -> Go, which is why I comment. I have programmed significant projects in statically typed languages in the past, but this new batch of languages (Rust/Go/Scala/etc) are certainly neat.

Re: Why I Program in Go

#9
post #4

I want to try out Go...but I have to make one initial observation...It can be somewhat hard to Google (ironically) for Go programming examples. I'm sure there's some tinkering you can do in your search query to get slightly better results, but "Go" is a difficult proper pronoun to facet a search around. https://www.google.com/search?q=go+facial+recognition https://www.google.com/search?q=python+facial+recognition

search for golang, most relevant resources will be found with this term. Edit: also, for package discovery, godoc.org. But golang+anything usually works.

I was wrong to doubt Google's foresight.

Re: Why I Program in Go

#10
For the life of me I can't understand why anyone would give up the power (in terms of profiling, monitoring and ecosystem, and somewhat better performance, too) of the JVM, for a language marginally more convenient than Java, and arguably less expressive than other JVM languages. The only thing I could think of is a smaller RAM footprint, if you care about that sort of thing.

Whenever Go is compared to Java, the arguments in its favor seem kind of fuzzy. After all, one of the motivations behind Go was a C-like language with far better compilation time than C++. And Java already fits the bill. So, yeah, Go is leaner and more modern -- but certainly not by an order of magnitude, like other JVM languages. Here, too, the author says that he didn't like Java's IDEs (really? does Go have better tooling? Because Java IDEs really get the job done), frameworks etc. But those things are simply the result of years of changing fashions. Newer Java "frameworks" are just as lean-and-mean as Go.

There are so many new and exciting languages around, but Go seems to carry the least "oomph" of the lot. It's basically Java. A little nicer; a little slower; a lot less powerful.

Post reply on HN