News for hackers. Stuff that matters.
Re:Ask HN: What would you like to see in the Golang course? by patio11 on Tuesday August 25, 2015 @11:48PM (#10120937)
Relevant to my interests! Here's some stuff I would have enjoyed learning prior to learning it the hard way:

a) Databases. What's the right way to work with them in Golang?

b) Suppose you're building an API which has some shared state. (Like, I don't know, a stock exchange's order book or something, to pick an example randomly.) What's the best way to model that such that you can access it concurrently in an arbitrary number of simultaneous HTTP requests?

c) Supposing that one understands goroutines at a Golang 101 level, where does one go from there? I ended up having lots of fun on e.g. fanning out data incoming from N sources to one channel back out to M consumers which each need a copy of everything on that channel. This felt excessively painful to me. How do I do it in a way which is not excessively painful?

Re:Ask HN: What would you like to see in the Golang course? by beckler on Wednesday August 26, 2015 @11:45AM (#10123687)
I found this link a while ago, but I still haven't sat down and gone through it.

http://go-database-sql.org/

Re:Ask HN: What would you like to see in the Golang course? by atrust on Wednesday August 26, 2015 @08:05AM (#10122331)
The course will contain "Web Development with Go", which will cover databases as much as possible.

APIs - very good point. Thanks. I haven't thought about it, but will definitely add an APIs chapter.

As for the c), this one probably requires picking some good use case with further implementation/explanation. Thanks for the food for thought.

Re:Ask HN: What would you like to see in the Golang course? by lsiebert on Thursday August 27, 2015 @06:11PM (#10132475)
Go concurrency and distributed programming patterns, with examples for different problems that devs often face, including how to test them.

Database examples need to provide instructions for getting to a working configuration, testing with a different database, etc.

honestly go look at Stack overflow and see where people get stuck.

Re:Ask HN: What would you like to see in the Golang course? by lazyfunctor on Saturday August 29, 2015 @08:14AM (#10139756)
1. Better understanding of goroutines & channels (what patio11 already mentioned). 2. Some more insight into error handling (maybe something on the lines of http://www.golangpatterns.info/error-handling)
Re:Ask HN: What would you like to see in the Golang course? by tmaly on Wednesday August 26, 2015 @08:50AM (#10122527)
I would like to see practical use cases. A step beyond the gobyexample site. Something more like the Perl cookbook
Re:Ask HN: What would you like to see in the Golang course? by martinni on Thursday August 27, 2015 @02:34PM (#10131173)
+1. I've been through a couple of tutorials and I now know and love golang. I would like someone to dive in a little deeper and demonstrate golang's strength.
Re:Ask HN: What would you like to see in the Golang course? by daxfohl on Friday August 28, 2015 @04:03PM (#10137563)
Evolution? Okay, maybe this is political, but in a training course I'd really need to see how a language has evolved to meet new challenges. Because if it's not a top-5 language, and it's not evolving, then why should someone care?
Re:Ask HN: What would you like to see in the Golang course? by senthilnayagam on Wednesday August 26, 2015 @01:28AM (#10121236)
for most developers Golang is not the first or primary language.

how to port a ruby, python or java code to golang would be useful.

there are libraries like gox, but I would like a good tutorial to cross platform applications.

personally I would like to learn to build gui apps, android apps in go.

Re:Ask HN: What would you like to see in the Golang course? by atrust on Wednesday August 26, 2015 @08:21AM (#10122390)
Mobile apps are part of the plan. Not sure about the state of gomobile, but afaik it's still experimental.

gui - this is an interesting one. Thanks! I'll try to cover it.

Re:Ask HN: What would you like to see in the Golang course? by gauravphoenix on Wednesday August 26, 2015 @04:50AM (#10121822)
>how to port a ruby, python or java code to golang would be useful.

+1. I would love to see "Golang for X dev" series of tutorials