loading...

re: Haskell/Python/Go web scraper comparison completed VIEW POST

FULL DISCUSSION
 

In the last paragraph, you discount pseudo-blank lines and yet the count for Go goes up instead of down - think there's a typo here in the final number of lines.

I agree with Dhwaneet, I think a performance test or two would be worthwhile as number of lines in terms of a metric is fairly useless when the numbers are as close as this (unless we're talking about competitive programming that is)

 

In the last paragraph, you discount pseudo-blank lines and yet the count for Go goes up instead of down - think there's a typo here in the final number of lines.

I don't think so. The 42 is discounting only imports and the package declaration, and the 43 is discounting only pseudo-blank lines. 34 is the count for discounting both.

I didn't count performance because I don't think performance matters for this job. And I don't think the numbers are very close - 25 to 34 is a 36% increase, and while pseudo-blank lines don't add anything semantically, they do take up visual space.

But since there's such a demand for performance testing, I'll do that next time I do a comparison :)

Code of Conduct Report abuse