[AccessD] Friday fun: Lambda Expressions

Gustav Brock Gustav at cactus.dk
Wed Sep 26 13:53:14 CDT 2007


Hi Shamil

It was just a bad joke. 
With Lambda Expressions you can create powerful one-liners which - due to their obtuse nature - can be hard to comprehend. Of course, the polite programmer will add sufficient comments in those cases.

But again, I found those links very useful, and everyone dealing with dotNet and SQL should really read up the stuff on LINQ - and thus Lambda Expressions and the lovely "yield". 
Most of the code is in C# which I'm not so familiar with but I feel you just have to learn this language - at least I have decided to use it for future work. I miss the With .. End With constructs but that's it.

/gustav

>>> shamil at users.mns.ru 26-09-2007 20:28 >>>
<<<
It may be very useful while it at the same time will be a must-have for
writing uncomprehensive code!
>>>
Hello Gustav,

I must say I didn't get what do you mean by this sentence - could you please
clarify?

Thanks.

--
Shamil
 
-----Original Message-----
From: accessd-bounces at databaseadvisors.com 
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Wednesday, September 26, 2007 7:59 PM
To: accessd at databaseadvisors.com 
Subject: Re: [AccessD] Friday fun: Lambda Expressions

Hi Shamil et al

These links are really good.
That for the FP tutorial covers mostly an example showing the power of LINQ
and how lambda expressions can be used.

However, like Jim I don't see lambda expressions - for us database people -
as much more than just another tool. It may be very useful while it at the
same time will be a must-have for writing uncomprehensive code!

/gustav


>>> shamil at users.mns.ru 21-09-2007 23:09 >>>
Hello Gustav,

 

Below is the set of good IMO URLs to LINQ and lambda expressions info,
discussions and samples (watch URL's line wraps). Statt with the first one,
which gives really practical sample:

 

http://www.code-magazine.com/Article.aspx?quickid=0709101 

http://community.bartdesmet.net/blogs/bart/archive/2007/09/05/visual-basic-9-0-feature-focus-linq-queries.aspx 

http://community.bartdesmet.net/blogs/bart/archive/2007/08/28/visual-basic-9-0-feature-focus-expression-trees.aspx 

http://blogs.msdn.com/ericwhite/pages/Lambda-Expressions.aspx 

http://blogs.msdn.com/ericwhite/pages/FP-Tutorial.aspx 

http://blogs.msdn.com/kevin_halverson/archive/2007/07/10/how-to-implement-iqueryable.aspx 

 

http://msdn2.microsoft.com/en-us/vbasic/bb688088.aspx 

http://msdn2.microsoft.com/en-us/vbasic/bb330936.aspx 

http://msdn2.microsoft.com/ru-ru/netframework/aa904594.aspx 

 

--

Shamil

 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com 
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Friday, September 21, 2007 4:50 PM
To: accessd at databaseadvisors.com 
Subject: [AccessD] Friday fun: Lambda Expressions

 

Hi all

 

I think I understand this clever topic:

 

http://msdn.microsoft.com/msdnmag/issues/07/09/BasicInstincts/ 

 

but I just can't find a good example where it would be useful.

Anyone having a good idea?

 

/gustav





More information about the AccessD mailing list