Hacker News new | ask | show | jobs
by bpizzi 3359 days ago
> How do you find your developer productivity fares in Go? To take a simple example, I was experimenting with C++ and had the simple task of "reading in a CSV".

Not sure if reading data from a csv formatted file is a great example for differentiating Python and Go: both languages have a builtin csv package/module.

Python: https://docs.python.org/3/library/csv.html#examples

Golang: https://golang.org/pkg/encoding/csv/#example_Reader

And, errors handling put aside, both takes more or less the same number of LOC.

1 comments

> And, errors handling put aside, both takes more or less the same number of LOC.

So apart from the difference in line count they are the same line count :)