RE: [IronPython] Extension methods...

2005-09-20 Thread Keith J. Farmer
nders). This, I think, is just plain beautiful. From: [EMAIL PROTECTED] on behalf of Michael Latta Sent: Tue 9/20/2005 9:47 AM To: 'Discussion of IronPython'; [EMAIL PROTECTED] Subject: RE: [IronPython] Extension methods... Keith, Your summary of LINQ is

RE: [IronPython] Extension methods...

2005-09-20 Thread Thane
20, 2005 12:47 PM > To: 'Discussion of IronPython'; [EMAIL PROTECTED] > Subject: RE: [IronPython] Extension methods... > > Keith, > Your summary of LINQ is correct in technical details. I believe that the > comment was about preferred syntax. The same could be done f

RE: [IronPython] Extension methods...

2005-09-20 Thread Michael Latta
level something that is more "Pythonish" would be nice. Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith J. Farmer Sent: Tuesday, September 20, 2005 9:38 AM To: [EMAIL PROTECTED]; Discussion of IronPython Subject: RE: [IronPython]

RE: [IronPython] Extension methods...

2005-09-20 Thread Keith J. Farmer
LINQ is *very* simple. It's simply, as Anders puts it, a pattern for describing queries. It's made useful by way of extension methods and the compiler deciding to convert a lambda expression not into a delegate, but into an expression tree. The query methods (Where, OrderBy, Select, etc) take tre

RE: [IronPython] Extension methods...

2005-09-20 Thread Thane
LINQ is pretty cool -- thanks for the update Keith. I do find it amusing that many of these "queries" are available in standard Python through list comprehensions, lambda, etc. Here's a simple LINQ example: [Category("Restriction Operators")] [Title("Where - Simple 1")] [Description("This sample