Hacker News new | comments | show | ask | jobs | submit login

how does scala handle the case where the order of arguments to the lambda is not the same as the order in which they appear in its body?



It doesn't. Use a real lambda. Why? See: http://news.ycombinator.com/item?id=2468038


I've seen too much code where lambdas do little more than twiddle argument orders. I'd rather pay a tiny bit more visual weight for straightforward argument usage and be able to use the same tool to reorder them.

The Scala version seems (to me) like it praises its own purity over day-to-day utility.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: