• Lucian's VBlog

    Req8: Use [ ] for arrays

    • 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

    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

    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

    Mr Flakey -- helps you write robust async code

    • 3 Comments
    (Update: Mr Flakey asked me to tell everyone that he's now available as a NuGet package ) It's a fact of life that network operations might fail. I wanted to check that my client apps behave correctly even if calls to REST services fail. So here...
  • 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

    Req16: Modules that don't auto-import their contents; extension methods in classes.

    • 8 Comments
    [This post is part of a series, " wish-list for future versions of VB "] IDEA 1: Shared Classes. We should allow "Shared Classes". Their members are all implicitly shared (like a Module), they can't be instantiated (like a Module), but their contents...
  • Lucian's VBlog

    Req11: International date literals

    • 10 Comments
    [This post is part of a series, " wish-list for future versions of VB "] IDEA: Allow date literals in a subset of ISO8601 format , e.g. #2010-01-26# or #2010-01-26T21:16Z#. (Currently VB only allows the US-specific form #MM/dd/yyyy#). Pretty-listing...
  • Lucian's VBlog

    Req13: Catches in Using blocks

    • 10 Comments
    [This post is part of a series, " wish-list for future versions of VB "] IDEA: Allow Catch statements in Using blocks. A Using block is just a Try/Finally block that calls "Dispose" in its destructor. It'd be handy if you could stick "Catch" statements...
  • Lucian's VBlog

    Talk: Async Codegen

    • 0 Comments
    Talk: Async Codegen In October 2011, as we were developing async, I prepared this super low-level talk so that my colleagues on the compiler and CLR/JIT teams would understand what code the compiler generates for async methods. It's deep, and technical...
  • 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

    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

    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

    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

    Req19: Allow statements to start with parentheses

    • 3 Comments
    [This post is part of a series, " wish-list for future versions of VB "] IDEA: Allow statements to start with parentheses. Currently, every statement in VB must start with either an identifier or a keyword. We should allow statements to start with...
  • 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

    Req10: share variables in method bodies

    • 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

    • 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

    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

    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

    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

    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

    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

    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

    A small app to fix date/time on photos and videos

    • 2 Comments
    I find it frustrating to assemble photos from different devices - my wife's iPhone, my Windows Phone, our Sony Cybershot, my parents' Canon IXUS. That's because they all use different naming conventions for their photos and videos: Even the windows...
  • 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...
Page 4 of 5 (105 items) 12345