Search Results

Paul Vick has started the conversation about VB 10 features and thoughts. Off the top of my head in no particular order here's some things I'd like to see in the language: complete Optional parameters Optional parameters are one of my favorite features but there's a couple of problems with...
with 9 comment(s) Edit this post
31. Templates for anonymous types It'd be nice if you could change the template used for anonymous types, such as to include INotifyPropertyChanged or other functionality. If you add a template to your project, you could then specify which template to use, e:g Dim customer = New With{.FirstName="Fred"...
with 5 comment(s) Edit this post
Today I was only going to add one, item, #29, but in writing the samples for it two more items came to mind. One however was an IDE thing more than a language thing, so just 2 items for the list today :) 29. Embrace declarative style coding VB led the way with declarative coding in .Net with declarative...
with 2 comment(s) Edit this post
I've still got some more thoughts, but these are beginning to be big items, so I'm only touching on two more today Backing fields nested inside Properties Public Property Name() As String Dim m_Name As String Get Return m_Name End Get Set ( ByVal value As String ) m_Name = value End Set End Property...
with no comments Edit this post
Standardization IOSO or ECMA standardization, to allow fully open development and meet organizational and governmental requirements for open standards. At present part of the language is under Patent protection, making it unclear for example if a third party provider can use the IsNot operator for example...
with 3 comment(s) Edit this post
a NameOf operator you could use this similar to TypeOf, but to get the name of a class or a method or property etc. NameOf could be used : - without any operand to return the name of the current method/property, e.g NameOf() - using an object reference ot get a typename, e.g NameOf(Me) gives the name...
with 2 comment(s) Edit this post
still teasing out thoughts from the cobwebs Date literals today in VB you can only specify date literals in the format of #MM/dd/yyyy# That's incredibly USA centric. I'd like to input date literals in the form of dd/MM/yyyy, but because that would cause an ambiguity, I'd really like to see...
with 4 comment(s) Edit this post
More language thoughts for VB10 (see part1 and part2 for earlier posts) Delegate combining and removing syntax Today in VB if you write a Custom Event handler, you have to write some really long winded code to combine and remove delegates, such as : Custom Event Click As EventHandler AddHandler(ByVal...
with 5 comment(s) Edit this post
Continuing thoughts on the language from yesterday : Multiple assignment Todd suggested this yesterday in reply to my post. I don't like the use of the := syntax, rather I'd like to see a grouping used, such as : (x, y) = 5 That would be the equivalent of x = 5 : y = 5 Differentiate between equality...
with 3 comment(s) Edit this post
To answer what is in VB 10, have a look at the document on the vb futures site .  Basically the list is removal for the need of the line continuation character in many places, collection and array initializers, multi statement lambdas, and generic variance. I decided to look back at my brief wish...
with 1 comment(s) Edit this post
More Posts Next page »