Sign in
Lucian's VBlog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
async
COM
covariance
iterators
mvvm
phone
plugin
PostVB10
spec
talk
tools
web
win8
Archive
Archives
February 2013
(3)
December 2012
(3)
November 2012
(6)
July 2012
(1)
May 2012
(1)
April 2012
(1)
March 2012
(3)
November 2011
(1)
October 2011
(1)
May 2011
(4)
April 2011
(6)
October 2010
(2)
June 2010
(1)
April 2010
(2)
March 2010
(7)
February 2010
(29)
January 2010
(12)
November 2009
(2)
August 2009
(1)
February 2009
(1)
December 2008
(1)
November 2008
(3)
October 2008
(4)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Lucian's VBlog
Req10: share variables in method bodies
Posted
over 3 years ago
by
Lucian Wischik, MSFT
6
Comments
[This post is part of a series, " wish-list for future versions of VB "] VB's "static variables" are a powerful and useful time-saver. They declare a variable with a one-off initialization which is shared amongst all invocations of a instance's...
Lucian's VBlog
Req9: allow CObj in constants and attributes
Posted
over 3 years ago
by
Lucian Wischik, MSFT
2
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Allow a CObj in constants and attributes. Currently it's not allowed, for instance, to write Const x As Object = CObj("hello") or to pass CObj(1) into an attribute, Both...
Lucian's VBlog
Req8: Use [ ] for arrays
Posted
over 3 years ago
by
Lucian Wischik, MSFT
6
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Use [ ] for arrays. This suggestion came from Bill McCarthy. He writes that it's hard to tell the difference between array-indexing and other uses of parentheses. We...
Lucian's VBlog
Req7: Have separate syntax for assignment "=" and comparison "=="
Posted
over 3 years ago
by
Lucian Wischik, MSFT
10
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Have different syntax for assignment "=" or ":=", versus comparison "==". Currently "=" is used for both. Bill McCarthy writes, "To determine which one it means, you...
Lucian's VBlog
Req6: Better casting
Posted
over 3 years ago
by
Lucian Wischik, MSFT
4
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Casts should flow from left to right. Here are some candidate syntaxes: Dim x1 = ( HtmlPage .Document.GetElementsByTagName( "a" ).First As HtmlElement ).Children...
Lucian's VBlog
Req5: unsafe and pointer support
Posted
over 3 years ago
by
Lucian Wischik, MSFT
4
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: "unsafe" and pointer support. VB should support unsafe programming, like C#, with pointers and all that. SCENARIO: Pointer support is useful for people who write marshallers...
Lucian's VBlog
Req3: multiline strings
Posted
over 3 years ago
by
Lucian Wischik, MSFT
7
Comments
[This post is part of a series, " wish-list for future versions of VB ". Just to note, I've been reading everyone's comments -- thank you everyone for the feedback -- but I want to finish putting up the entire list before I get round to responding.] ...
Lucian's VBlog
Req2: null-propagating field access
Posted
over 3 years ago
by
Lucian Wischik, MSFT
7
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Introduce a syntax for null-propagating field access. We could use the syntax ".?" for this. For instance, ' What the user writes Dim name = Customer .? Name ...
Lucian's VBlog
Req1: Put the loop control variable inside the loop
Posted
over 3 years ago
by
Lucian Wischik, MSFT
4
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: In a "For Each" loop, put the loop control variable's scope inside the loop. Look at the following code: Dim lambdas(10) As Func ( Of Integer , Integer ) For x...
Lucian's VBlog
Core11: an "XML pattern" to break free from XDocument/XElement
Posted
over 3 years ago
by
Lucian Wischik, MSFT
4
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: An "XML pattern". Currently we have a "collection pattern" so that For Each and "New From {...}" can be used on arbitrary user-defined types. And we also have a "query...
Lucian's VBlog
Power11: Extension properties
Posted
over 3 years ago
by
Lucian Wischik, MSFT
3
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Extension properties. We should add extension properties, just like we have extension methods. SCENARIO: In Javascript and a host of web-related DSLs, there are...
Lucian's VBlog
Power10: Reduce verbosity through #light
Posted
over 3 years ago
by
Lucian Wischik, MSFT
9
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Add a #light directive, like F#, to reduce VB's verbosity . We already eliminated the dreaded "_" to make VB syntax look cleaner. We could also use layout as in Python...
Lucian's VBlog
Power7: Dictionary and list literals
Posted
over 3 years ago
by
Lucian Wischik, MSFT
3
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Dictionary literals. You should be able to write a dictionary initializer with an easier syntax. Moreover, if the user didn't specify the type of the dictionary, then...
Lucian's VBlog
Power6: __CALLER_MEMBER__
Posted
over 3 years ago
by
Lucian Wischik, MSFT
2
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Reflect on your caller with __CALLER_MEMBER__ . Introduce three new "optional parameter defaults" which are called __CALLER_FILE__, __CALLER_LINE__ and __CALLER_MEMBER__...
Lucian's VBlog
Power5: Custom anonymous types
Posted
over 3 years ago
by
Lucian Wischik, MSFT
2
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Custom anonymous types. We should allow the user to provide a custom "anonymous type" template. This idea came from Bill McCarthy , who gave two examples: Dim customer...
Lucian's VBlog
Power3: Shared methods inside interfaces
Posted
over 3 years ago
by
Lucian Wischik, MSFT
2
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Allow shared methods inside interfaces, including operators. To support this we’d also need changes inside the CLR. SCENARIO: You want to write a general-purpose mathematical...
Lucian's VBlog
Power4: Custom property templates and custom event templates
Posted
over 3 years ago
by
Lucian Wischik, MSFT
5
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Custom property templates. We should have an easy way for users to write boiler-plate code in their properties. This would include things like INotifyPropertyChanged...
Lucian's VBlog
Power2: Async and Resumable methods
Posted
over 3 years ago
by
Lucian Wischik, MSFT
4
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Async and Resumable Methods. We should be able to use the "Async Programming Model" (APM) more easily, via an extra keyword "Async": Async Function Test() As Integer...
Lucian's VBlog
Power1: REPL, and VBScript.NET
Posted
over 3 years ago
by
Lucian Wischik, MSFT
1
Comments
[This post is part of a series, " wish-list for future versions of VB "] [The first set of ideas I called "Core Ideas" because they fill in missing parts VB's current code feature set. This next set I call "Power Ideas" because they open up new ways...
Lucian's VBlog
Core9: readonly auto-properties
Posted
over 3 years ago
by
Lucian Wischik, MSFT
5
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Readonly auto-properties. We should allow read-only properties, which are backed by readonly fields, and can be set by either a property-initializer or through the existing...
Lucian's VBlog
Core8: Attribute Targets
Posted
over 3 years ago
by
Lucian Wischik, MSFT
0
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Attribute Targets. We should allow some more attribute targets of the form < Target : SomeAttribute ( )> . Currently the only permitted targets are Assembly: and Module...
Lucian's VBlog
Core7: Unify late-binder with early-binder
Posted
over 3 years ago
by
Lucian Wischik, MSFT
1
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Unify the late-binder with the early-binder. Currently the late-binder uses VB8 rules, more or less, for its overload resolution. It should be updated to use VB10 rules...
Lucian's VBlog
Core6: "VB-Core" -- make the vb runtime optional without breaking CType &c.
Posted
over 3 years ago
by
Lucian Wischik, MSFT
3
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: "VB-Core". Add a checkbox to the Project Properties dialog to “Embed VB runtime". With this checked then your executables and DLLs will no longer have a reference to Microsoft...
Lucian's VBlog
Core5: Overloading on optional parameters
Posted
over 3 years ago
by
Lucian Wischik, MSFT
2
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Overloading on optional parameters. Allow you to have overrides which differ only in their optional parameters. The rules for "overloaded method resolution" would have to...
Lucian's VBlog
Core4: Flexibility with implementing properties
Posted
over 3 years ago
by
Lucian Wischik, MSFT
3
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Flexibility with implementing properties. Allow you to implement a property with more accessors than was specified in the interface your implementing, or the abstract class...
Page 3 of 4 (93 items)
1
2
3
4