3 ms·
So Scala is harder to write, but the question is: is it easier to read? (Since in general a particular piece of code is read far more often than it is written)
by amelius 8y ago
So Scala is harder to write, but the question is: is it easier to read?
(Since in general a particular piece of code is read far more often than it is written).
- misja111 8y agoThat's an interesting question although it's not directly related to the article. I think it is definitely possible to write Scala code that is easier to read than the same Java code. However it seems that a large part of the Scala community does not see this as their main objective when writing code. Sometimes the focus seems to be on writing code as terse as possible, which is not the same as readable. Or the focus is on making code more generic and abstract, which can be a useful goal depending on the use case, but it's definitely not the same as readable.