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.
9 comments:
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#.
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.
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 . . .
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 . . .
I dunno... seems like a very Dim language to me.
Nice that its catching up with Python.
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.)
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.
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.
Hey, you have a great blog here! I'm definitely going to bookmark you!
Post a Comment