zlacker
[return to "“Go’s design is a disservice to intelligent programmers”"]
◧
1. nemo16+14
[view]
[source]
2015-03-25 22:26:19
>>apta+(OP)
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_
◧◩
2. zoips+H5
[view]
[source]
2015-03-25 22:44:36
>>nemo16+14
Kind of code golfing it:
http://play.golang.org/p/s53zQrE0ei
◧◩◪
3. sounds+a8
[view]
[source]
2015-03-25 23:10:39
>>zoips+H5
That's definitely shorter, but I would hope that isn't considered the most shining example of non-obfuscated code. :)
(For code golf, though, it's just fine.)
[go to top]