Actually, I object to that part of the syntax included due to its C heritage :-)
(Not entirely serious; I understand why so many languages have adopted the rather strange C conventions, C++, C# and Java included. But mixing in more and more idioms from other languages certainly doesn’t make it any prettier …)
I hate the syntax of the lambda expression too… why can’t we use a function-syntax like would be used in C# 2.0? Something akin to:
with(var e) { return e + 5; } // or lambda(var e) { return e + 5; }
would be much clearer than:
e => e + 5
Actually, I object to that part of the syntax included due to its C heritage :-)
(Not entirely serious; I understand why so many languages have adopted the rather strange C conventions, C++, C# and Java included. But mixing in more and more idioms from other languages certainly doesn’t make it any prettier …)