3 ms·
Go actually has large line counts closer to Java and C due to lack of generics and exceptions, and the need to specify structs. http://benchmarksgame.alioth.de
by codexon 12y ago
Go actually has large line counts closer to Java and C due to lack of generics and exceptions, and the need to specify structs.
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=go&lang2=python3 http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=go&lang2=java http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
http://benchmarksgame.alioth.debian.org/u64q/go.html http://benchmarksgame.alioth.debian.org/u64q/go.html
- jerf 12y agoOn the benchmarks, sure. That wouldn't surprise me. In my real code, though, it writes like well-written Python, minus an occasional penalty for a list comprehension or something, which I don't really use that often anyhow. If you want to play Perl golf, Perl will blow it away. Then again, my well-written Perl and Go come out pretty similarly.