Live data from Hacker News

Go by Example

gobyexample.com

1–10 of 130 posts

Re: Go by Example

#3
It's Friday gents! No excuse to set aside Saturday and Sunday, you can easily go through these examples in two days and grok it. Go is that _slim_, and that's good!

Guaranteed you'll find use for Go in one system or the other when you want easy deployment, fast development time and extreme speeds. :)

(Disclaimer: I love Go and I hope it goes mainstream in a big way in 5 years)

Re: Go by Example

#7

It's Friday gents! No excuse to set aside Saturday and Sunday, you can easily go through these examples in two days and grok it. Go is that _slim_, and that's good! Guaranteed you'll find use for Go in one system or the other when you want easy deployment, fast development time and extreme speeds. :) (Disclaimer: I love Go and I hope it goes mainstream in a big way in 5 years)

I've started using Go on a personal project and this looks to be a great concise resource. Hopefully this'll give me some fuel to work on it this weekend!

Re: Go by Example

#8

This documentation is great, but one thing I tend to miss with examples like these is how to structure a project, deal with packages, etc.

GitHub is your friend here.

Here is a search for Go repositories with > 100 stars.[1] Every project will look different (the really big ones might be more complex then you need) but as you get deeper into the results you can find some great stuff.

[1]: https://github.com/search?l=go&q=stars%3A%3E100&s=stars&type...

Re: Go by Example

#9

It's Friday gents! No excuse to set aside Saturday and Sunday, you can easily go through these examples in two days and grok it. Go is that _slim_, and that's good! Guaranteed you'll find use for Go in one system or the other when you want easy deployment, fast development time and extreme speeds. :) (Disclaimer: I love Go and I hope it goes mainstream in a big way in 5 years)

Are there any plans to add generics yet, or do I still have to write a bunch of extra boilerplate functions in order to sort a list?

Re: Go by Example

#10

It's Friday gents! No excuse to set aside Saturday and Sunday, you can easily go through these examples in two days and grok it. Go is that _slim_, and that's good! Guaranteed you'll find use for Go in one system or the other when you want easy deployment, fast development time and extreme speeds. :) (Disclaimer: I love Go and I hope it goes mainstream in a big way in 5 years)

Are there any plans to add generics yet, or do I still have to write a bunch of extra boilerplate functions in order to sort a list?

That's something for the Go creators to decide, but personally I enjoy the feeling of safety that comes with lack of generics. I have very few Go bugs at runtime and I think that explicitness plays a huge part in it.
Post reply on HN