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.)
◧◩◪◨
4. NateDa+ni
[view]
[source]
2015-03-26 01:44:54
>>sounds+a8
It's actually very simple code, if you're at all familiar with go. That's probably what I would have written just by sitting down at the computer to do so for work.
[go to top]