"I have a mind like a steel... uh... thingy." Patrick Logan's weblog.

Search This Blog

Loading...

Wednesday, September 14, 2005

Finally Integrated Query

Looks like a popular production language design finally will provide a query capability that disregards the kind of data (persistent or not, objects or not, XML or not) being queried. Visual Basic just became somewhat appealing for this and some other new features. I still have reasons not to use it, but this is an appealing step that will benefit many developers for some time to come.

Kudos to Visual Basic. Does C# have *all* these same features? I've not read all the PDC news yet.

10 comments:

Wesner Moise said...

C# is missing features for late binding (duck typing, dynamic identifiers), but these are syntactic sugar for reflection.

XML late binding and XML literals in VB provide a more compact syntax than C#.

PJE said...

It's not obvious to me how the "queries" shown, differ from simple list comprehensions in Python, which do the same thing with a less verbose syntax.

Anonymous said...

The queries above are very like list comprehensions in Python. Now, if only Python list comprehensions could be applied to SQL databases as naturally as they are applied to Python data structures . . .

Anonymous said...

The queries above are very like list comprehensions in Python. Now, if only Python list comprehensions could be applied to SQL databases as naturally as they are applied to Python data structures . . .

Anonymous said...

I dunno... seems like a very Dim language to me.

Nice that its catching up with Python.

Patrick Logan said...

I still like Python better than VB.Net for many reasons. Python has the meta facilities to do things like this and more.

VB.Net has an audience that Python has not reached yet. I would be happy for Python to reach that audience. I am also happy that VB.Net has adopted these.

(I think... I mean I just found out about it yesterday by reading a couple of blogs.)

Anonymous said...

It looks like list comprehensions to the point of missing groupby and orderby. Would be nice if python would add those in the list comprehension syntax too instead of using itertools.groupby or sorted.

Anonymous said...

If you would just take your time to know your way around, you could discover a lot of premium products and services being offered for free.

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

Steve Austin said...

Interesting blog. I have a cgi perl shipping ups xml blog.

Blog Archive

About Me

Portland, Oregon, United States
I'm usually writing from my favorite location on the planet, the pacific northwest of the u.s. I write for myself only and unless otherwise specified my posts here should not be taken as representing an official position of my employer. Contact me at my gee mail account, username patrickdlogan.