News for hackers. Stuff that matters.
Re:Go version 1 proposal by hopeless on Friday October 07, 2011 @07:30AM (#3083485)
The future's looking bright for Go.

I've recently been looking at some new languages: Scala, Haskell, Clojure, Node.js etc. Go was the only site to put code samples (live ones at that) on their front page.

Language/framework creators take note: The first thing I want to see on your site is what the code looks like. How to install it is a distant second (I can look it up once you've convinced me it's worth installing)

Re:Go version 1 proposal by pestaa on Friday October 07, 2011 @08:21AM (#3083631)
I have never ever understood the desire to make installation details and lists of requirements the first thing I see on software docs. I come across all these tiny packages or full-blown applications and I have to literally spend minutes to figure out what they actually do.

Being open source is not a real advantage any more, but it takes so little effort to summarize your project at the top of the README, so please do it so I can fall in love with your stuff.

Re:Go version 1 proposal by simmons on Friday October 07, 2011 @12:54PM (#3084810)
I've noticed that this problem exists even beyond software documentation. It's often hard to figure out what a company does by looking at their web site, for instance. I wish every such document started with "Product Foo is ____. It does ____."
Re:Go version 1 proposal by drivingmenuts on Friday October 07, 2011 @12:22PM (#3084677)
I think that comes from the desire to find out if it's even worth exploring the project on a given hardware/software setup.

It may be a throwback, but it's still a good idea.

Re:Go version 1 proposal by Raphael on Saturday October 08, 2011 @03:31AM (#3087396)
http://nodejs.org/ has a code sample.
Re:Go version 1 proposal by hopeless on Sunday October 09, 2011 @02:03PM (#3090900)
You're right, I'd forgotten that one
Re:Go version 1 proposal by chrisfarms on Friday October 07, 2011 @06:15AM (#3083334)
very happy to hear about the "go" command on the timeline. While I haven't really had much trouble building Makefile this has seemed one of the least elegant parts of development with Go

Checkout the usage for ./go so-far here: http://code.google.com/p/go/source/browse/src/cmd/go/script....

Re:Go version 1 proposal by zerosanity on Friday October 07, 2011 @08:07AM (#3083591)
Makefile fussing was driving me insane with Go. I was trying to build with directory local packages to keep bits of code separated cleanly and it was a pain to get working.

I discovered http://code.google.com/p/go-gb/ and haven't looked back. It makes building Go code SO much nicer. If I just want to try something quick in Go I just make a directory, place my whatever.go file in it, type 'gb', and run my program.

I really hope they make this 'go' tool as easy as 'gb'.

Re:Go version 1 proposal by masterponomo on Friday October 07, 2011 @01:56PM (#3085082)
Go 1 is a good idea. I just hope Go 2 is not considered harmful.
Re:Go version 1 proposal by michaelcampbell on Saturday October 08, 2011 @08:12PM (#3089218)
oh, my. If Google doesn't capitalize on that when Go 2.x DOES hit the streets, I'll be very disappointed.

Well played.

Re:Go version 1 proposal by hartror on Friday October 07, 2011 @09:05PM (#3086677)
groan
Re:Go version 1 proposal by DizzyDoo on Friday October 07, 2011 @05:52AM (#3083296)
"The Go 1 release will be available in source and binary form for at least these platforms: ... Windows (2000 + later): amd64, 386"

I develop primarily on a Windows machine, so this is some good news.

Re:Go version 1 proposal by uriel on Friday October 07, 2011 @08:20AM (#3083629)
Recent releases are already available for Windows, see http://code.google.com/p/gomingw/
Re:Go version 1 proposal by Someone on Friday October 07, 2011 @08:36AM (#3083674)
I have only skimmed the page, but this caught my eye:

    Close is intended as a way for a sender to signal
    that no more values will be sent.  

    Go 1 will disallow close on receive-only channels.
Why, then, would one still call this 'close'? Wouldn't "done", "dontexpectmore" or "sendEndOfData" be better names?
Re:Go version 1 proposal by uriel on Friday October 07, 2011 @08:49AM (#3083711)
Yesterday in #go-nuts we were discussing better names for close() which currently causes so much confusion, my suggestion was end(), but done() is a good one too.
Re:Go version 1 proposal by majika on Friday October 07, 2011 @07:40AM (#3083510)
It's currently quite a pain to get the most-recent Go release installed, and integrated into your development environment. I'd like to see Go v1 be more distribution-friendly. This is the biggest show-stopper for wider Go adoption.

I'd also like to see a built-in IDE analogous to Python's IDLE to lower the barrier-to-entry. IDLE is great for education.

I also think that Go needs to establish some sort of independent entity for the future development of the language. People need assurance that Go isn't going to go away if Google gets bored with it. Go hasn't crossed that rubicon yet, and this is another big barrier to adoption.

Re:Go version 1 proposal by sesteel on Friday October 07, 2011 @01:04PM (#3084863)
I'm one of the authors of Goclipse. A Go IDE plugin for Eclipse which can be found here: http://code.google.com/p/goclipse/

I am always interested in getting people's opinions... and help. Most of the people who use Go however, including me sometimes, seem to use more lightweight text editors like vi.

Re:Go version 1 proposal by uriel on Friday October 07, 2011 @08:47AM (#3083705)
There are Go packages for Debian and Ubuntu at least ( http://go-lang.cat-v.org/packages ) plus a binary distribution for Windows, and installing in other systems is quite trivial:

  $ hg clone -u release https://go.googlecode.com/hg/ go
  $ cd go/src
  $ ./all.bash
Re:Go version 1 proposal by alec on Friday October 07, 2011 @12:43PM (#3084767)
Last I checked a few months ago, if you want to use a distribution's version of Go, you must install all later libraries as root - there's no place for "my local libraries".
Re:Go version 1 proposal by uriel on Monday October 10, 2011 @09:10AM (#3093600)
That sounds like a problem with the packaging for your distribution.

If you install Go the way golang.org instructions indicate, you can install everything as a non-root user just fine.

Re:Go version 1 proposal by uggedal on Friday October 07, 2011 @06:15AM (#3083335)
Re:Go version 1 proposal by hartror on Friday October 07, 2011 @06:44AM (#3083390)
I certainly missed it in the wall of Steve that was HN yesterday. ;)
Re:Go version 1 proposal by owlpic on Friday October 07, 2011 @07:19AM (#3083460)
twice, in fact: http://news.ycombinator.com/item?id=3080011

seems like they both got lost.