Answer by t. fochtman for Reading and parsing CSV files
Below you can see that I've rewritten a bit of your code. For readabilities sake my first suggestion is to attempt to make your function definitions and their parameter lists consistent with the Scala...
View ArticleAnswer by Tal Pressman for Reading and parsing CSV files
Here are a few things, going from smallest to the more significant.Try to avoid using return. It isn't idiomatic, and for good reason. So instead of writing if (cond) return a; return b you should...
View ArticleReading and parsing CSV files
This is my first real attempt at a Scala program. I come from a predominantly Java background, so I'd like to know if the program sticks to Scala conventions well. Is it well readable or should it be...
View Article