• Lucian's VBlog

    Req6: Better casting

    • 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

    • 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

    • 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

    • 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

    • 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

    • 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

    • 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

    • 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

    • 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__

    • 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

    • 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

    • 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

    • 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

    • 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

    • 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

    • 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

    • 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

    • 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.

    • 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

    • 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

    • 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...
  • Lucian's VBlog

    Core10: Namespace Global

    • 6 Comments
    [This post is part of a series, " wish-list for future versions of VB "] IDEA: "Namespace Global". Allow people to declare "Namespace Global" so that their code goes into the global namespace, rather than always being inside the Project>Properties>RootNamespace...
  • Lucian's VBlog

    Core2: Inline and multi-line comments

    • 13 Comments
    [This post is part of a series, " wish-list for future versions of VB "] IDEA: Allow comments within multi-line statements , and in blocks, and within expressions. Sub g( ByVal f As String , ' filename ByVal y As String ' access mode ) ...
  • Lucian's VBlog

    Core3: Dynamic pseudo-type (scoped late binding)

    • 12 Comments
    [This post is part of a series, " wish-list for future versions of VB "] IDEA: Scoped late binding through a dynamic pseudo-type. Add a new pseudo-type called either Dynamic or Variant . It would be exactly the same type as Object , but it would...
  • Lucian's VBlog

    Core1: Iterators

    • 4 Comments
    [This post is part of a series, " wish-list for future versions of VB "] IDEA: Add Iterators to VB . But don’t do them like C#; instead do them as “anonymous iterators”, as described by Paul Vick: http://www.panopticoncentral.net/archive/2008/08...
Page 4 of 5 (114 items) 12345