<c++ rant>
I decided that a Turing complete template language isn't the
most amusing/silly/strage (make you choice) part of C++.
Function objects gets the prize:
Class foo {
public:
int operator()(int i) { return 42 + i; };
}
//
{
foo foobar;
foobar(1);
//
}
Is an extremly silly way to say: (\lambda i. 42 + i)(1). And
I don't even want to think about third order functions.</c++ rant>
Yeah, I attended a talk by Bjarne "I never seem to spell his name corretly" Stroutstrup yesterday. He has many good points about Java, C# as such kind of creations but I still don't think OO is a solution to a problem.
