←back to thread

131 points apta | 1 comments | | HN request time: 0.195s | source
Show context
nemo1618 ◴[] No.9266433[source]
IMO, the author's "copy data to stdout" example betrays a lack of language understanding. Here's a more idiomatic version: http://play.golang.org/p/ZWatRuj3Q_
replies(6): >>9266451 #>>9266492 #>>9266537 #>>9266549 #>>9266585 #>>9274007 #
1. QuercusMax ◴[] No.9266451[source]
Thanks! I'm just learning go (started last night), but I couldn't believe there wasn't a better way. It felt like a straw man example.