←back to thread

131 points apta | 1 comments | | HN request time: 0.223s | 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. Cthulhu_ ◴[] No.9266492[source]
Plus given Go's focus on external dependencies, a common task like reading commandline parameters can (and should) be done with a library that solved that problem for you already - don't reinvent the wheel, and such.