<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>VB 10 thoughts ...</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx</link><description>Paul Vick has started the conversation about VB 10 features and thoughts. Off the top of my head in no particular order here&amp;#39;s some things I&amp;#39;d like to see in the language: complete Optional parameters Optional parameters are one of my favorite</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>What does VB 10 have ?</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx#1653809</link><pubDate>Wed, 12 Nov 2008 01:32:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1653809</guid><dc:creator>VB Feeds</dc:creator><description>&lt;p&gt;To answer what is in VB 10, have a look at the document on the vb futures site .&amp;#160; Basically the&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1653809" width="1" height="1"&gt;</description></item><item><title>What does VB 10 have ?</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx#1653805</link><pubDate>Wed, 12 Nov 2008 01:18:12 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1653805</guid><dc:creator>@ Head</dc:creator><description>&lt;p&gt;To answer what is in VB 10, have a look at the document on the vb futures site .&amp;#160; Basically the&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1653805" width="1" height="1"&gt;</description></item><item><title>Can't get no VB Action ?</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx#1556124</link><pubDate>Thu, 27 Mar 2008 05:30:06 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1556124</guid><dc:creator>@ Head</dc:creator><description>&lt;p&gt;Paul Stovell finally notices the lack of support for statement lambdas in VB9 . Unfortunately Vb9 only&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1556124" width="1" height="1"&gt;</description></item><item><title>re: VB 10 thoughts ...</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx#1248964</link><pubDate>Wed, 17 Oct 2007 13:47:58 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1248964</guid><dc:creator>Henn Sarv</dc:creator><description>&lt;p&gt;VB Language feature request:&lt;/p&gt;
&lt;p&gt;in common syntax is usefull to have following&lt;/p&gt;
&lt;p&gt;&amp;lt;statement&amp;gt; ::= &amp;lt;statement&amp;gt; [;]&lt;/p&gt;
&lt;p&gt;the main idea is to add to the syntax optional semicolon allowed at the end of any statement :)&lt;/p&gt;
&lt;p&gt;this allows most code examples to be change to equal between C# and VB&lt;/p&gt;
&lt;p&gt;similar simplification is in SQL where ; is optional at end of statement (now since 2005 sometime mandatory&lt;/p&gt;
&lt;p&gt;With bests&lt;/p&gt;
&lt;p&gt;Henn&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1248964" width="1" height="1"&gt;</description></item><item><title>re: VB 10 thoughts ...</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx#1244309</link><pubDate>Fri, 12 Oct 2007 13:21:51 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1244309</guid><dc:creator>Jim Wooley</dc:creator><description>&lt;p&gt;I second the request on iterators. True, you can do a number of those with LINQ, but LINQ itself relies on iterators (see in particular the implementation of Where).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1244309" width="1" height="1"&gt;</description></item><item><title>re: VB 10 thoughts ...</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx#1241766</link><pubDate>Tue, 09 Oct 2007 00:37:02 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1241766</guid><dc:creator>bill</dc:creator><description>&lt;p&gt;Hey Bob,&lt;/p&gt;
&lt;p&gt;I was mainly thinking of bitwise operations on integral value types, such as bitmap manipulation or similar. It's the main thign that makes VB.NET &amp;quot;lesser&amp;quot; when it comes to XNA, other than Microsoft's marketing that is ;)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1241766" width="1" height="1"&gt;</description></item><item><title>re: VB 10 thoughts ...</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx#1240644</link><pubDate>Mon, 08 Oct 2007 17:52:30 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1240644</guid><dc:creator>Bob Bingham</dc:creator><description>&lt;p&gt;Ack! &amp;nbsp;No ++ or --. &amp;nbsp;I've seen those make code mighty confusing.&lt;/p&gt;
&lt;p&gt;Bill, what sort of pointer operations?&lt;/p&gt;
&lt;p&gt;A big YES on optional parameters!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1240644" width="1" height="1"&gt;</description></item><item><title>re: VB 10 thoughts ...</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx#1230297</link><pubDate>Fri, 05 Oct 2007 02:00:19 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1230297</guid><dc:creator>bill</dc:creator><description>&lt;p&gt;Hey Todd,&lt;/p&gt;
&lt;p&gt;+ pre and post operators I think I'd pass on. I've seen their usage make code hard to read. Given Vb's For var = low to high Step n... Loop, I don't think you really need ++ as much as you do in C style languages.&lt;/p&gt;
&lt;p&gt;+multiple assignment is good. How about a syntax like :&lt;/p&gt;
&lt;p&gt;(a,b) = 1&lt;/p&gt;
&lt;p&gt;+IIF, that's already fixed in 2008 with the new If operator. (search my blog posts for examples)&lt;/p&gt;
&lt;p&gt;+ Overloaded SQLCommand etc. &amp;nbsp;Again in 2008 you can use object initialisers, which let you call New then specify properties after:&lt;/p&gt;
&lt;p&gt;Dim cmd As New SqlCommand(&amp;quot;sp_GetCustomers&amp;quot;) With {.CommandType = CommandType.StoredProcedure}&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1230297" width="1" height="1"&gt;</description></item><item><title>re: VB 10 thoughts ...</title><link>http://msmvps.com/blogs/bill/archive/2007/10/05/vb-10-thoughts.aspx#1230035</link><pubDate>Thu, 04 Oct 2007 19:14:19 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1230035</guid><dc:creator>Speednet</dc:creator><description>&lt;p&gt;VB is my favorite language, so I appreciate your blog entry!&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to see the equivalent of the C# yield operator, which is great for enumerations. &amp;nbsp;You can accomplish the same thing in one line of VB, but talk about verbose!&lt;/p&gt;
&lt;p&gt;Here are other things I want:&lt;/p&gt;
&lt;p&gt;- pre- and post-increment operators (&amp;quot;++&amp;quot; and &amp;quot;--&amp;quot;, before and after a variable)&lt;/p&gt;
&lt;p&gt;- multiple assignments in one statement, like a = b = c = 1, but with VB it would probably have to be something like a := b := c := 1, since the = sign means equality.&lt;/p&gt;
&lt;p&gt;- multiple initializers on one line, such as Dim a As Integer = 1, b As Integer = 2 *or* Dim a, b As Integer = 1 (which would make both a and b equal to 1) *or* Dim o1, o2 As New List(Of String)&lt;/p&gt;
&lt;p&gt;- Overloaded strongly typed versions of IIf().&lt;/p&gt;
&lt;p&gt;- Another overloaded constructor of the SqlCommand object which specifies command string, connection, and COMMAND TYPE (which would be a great time-saver for stored procedures).&lt;/p&gt;
&lt;p&gt;- Another overloaded Add() method of the Parameters collection in a SqlCommand, which allows me to specify (param name, SqlDbType, Length, and DIRECTION), which is great for Output and Return parameters (the only overload that accepts Direction currently makes me specify like 10 pages of arguments).&lt;/p&gt;
&lt;p&gt;- An overloaded version of SqlCommand.ExecuteNonQuery() which will automatically open and close the connection, so I can do it in 1 line rather than 3 (and keeps the connection open for as little as possible).&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a great language already, these are just some thing I can think of to make it a tiny bit better.&lt;/p&gt;
&lt;p&gt;-Todd&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1230035" width="1" height="1"&gt;</description></item></channel></rss>