Today I came across this post[1]. It discusses about readability, comparing functional and imperative code snippets. I think its quite hard to tell which reads better because it depends on you think it should work. I guess this shows how important code style guides are when it comes to big scala code basis, involving possibly many different team members.
[1]http://www.drmaciver.com/2008/08/functional-code-not-equal-good-code/
Keine Kommentare:
Kommentar veröffentlichen