
5 Feb
2011
5 Feb
'11
1:05 p.m.
On 05/02/2011 13:42, Joel de Guzman wrote:
I think his argument is that with lambda expressions, the code is at the call site. However, I'd also argue that for more complex code spanning several statements, it is good practice to refactor them into their own functions. Overly complex lambda functions are a poor form.
So Boost.Phoenix self-acknowledges that it can only be used to write trivial things? In functional programming, there is no difference between defining lambdas and functions (except the former cannot be recursive), and it is not viewed as bad practice to have functions spanning a couple hundred lines.