3 ms·
Its really amusing to consider Java somehow simpler than Scala. Take any Java class and rewrite it in Scala, you end up with at least 3x fewer lines of code.
by aliakhtar 7y ago
Its really amusing to consider Java somehow simpler than Scala. Take any Java class and rewrite it in Scala, you end up with at least 3x fewer lines of code.
- bitL 7y agoThat's not about length of code. It's about how many different approaches in Scala one has to be aware of when working in a team. All team members need to have a similar familiarity with the language/frameworks or team disintegrates and is unable to fulfill its goals. Scala is as fragile as C++ here, prolonging development time unnecessarily.
- pkolaczk 7y agoSame is true for any other mainstream language like Java, C# or Python. There are many ways to do the same thing, and this is why teams have code style guides and code reviews.