
29 Sep
2008
29 Sep
'08
5:15 p.m.
Eric Niebler:
Lambda has some quirks that it would be best to leave behind.
I agree, but I suspect that we don't agree on the specific quirks to be left behind. The unary & is on the top of my list. &x should never be overloaded, IMHO. Yes, we do have addressof. I'd still have gone with addr(_1) instead. The other thorny issue is that lambda expressions aren't Assignable, because their operator= creates a new lambda exression instead. This might well be unfixable.
I support Joel's approach of deprecating the old lambda interface and migrating folks to phoenix.
I've always thought that the plan was for Lambda and Phoenix to merge one day. Apart from that, I'm not a Lambda user, so I don't have an opinion. :-)