From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,cd3701d5ec722b08 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!m11g2000vbl.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Lambda expressions? LINQ? Date: Fri, 18 Sep 2009 00:58:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1253260699 30558 127.0.0.1 (18 Sep 2009 07:58:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 18 Sep 2009 07:58:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m11g2000vbl.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8381 Date: 2009-09-18T00:58:19-07:00 List-Id: On Sep 16, 11:46=A0am, "Jeffrey R. Carter" wrote: > Steve D wrote: > > > Using LINQ and the .NET framework I was able to query an XML document > > for all elements with a given element name, select an attribute with a > > specific name, split the content of the attribute (a comma separated > > list of strings) into it's individual strings and return an array of > > unique elements... in one line of source code. ... Wow! > > Sounds like a write-only language to me. > > -- > Jeff Carter > "My dear Mrs. Hemoglobin, when I first saw you, I > was so enamored with your beauty I ran to the basket, > jumped in, went down to the city, and bought myself a > wedding outfit." > Never Give a Sucker an Even Break > 111 No, no - it just looks like SQL! Very readable - even for non-SQLers. It's been >15 years since I did /any/ DB work and I manage to follow LINQ (in C# - a language I don't know) quite easily. Cheers -- Martin p.s. some examples at: http://msdn.microsoft.com/en-us/vcsharp/aa336758.asp= x