Zev Spitz

Results 225 comments of Zev Spitz

@Bill-McC > A reference type is mutable. It always starts as null. We can write special cases where we make it mutable only at instantiation, but that is a special...

I use the following extension method: ``` Public Function ForEach(Of T)(src As IEnumerable(Of T), action As Action(Of T, Integer)) Dim current = 0 For Each item In src action(item, current)...

@DzonnyDZ Your proposed syntax is extremely difficult to read.

@pricerc > many seemingly verbose language constructs were designed intentionally by some very smart people. I'm [still waiting for some possible justification for the misleading monstrosity that is `TypeOf x...

> Going forward, we do not plan to evolve Visual Basic as a language. and > Future features of .NET Core that require language changes may not be supported in...

@KathleenDollard Let me be clearer. Both statements (which I quoted from the blog post) are saying that Visual Basic will not change. My question is, how absolute is this position?...

@WolvenRA > Whatever "cost savings" they get will be absolutely nothing compared to the losses they will incur from programmers and businesses moving to non-Microsoft platforms because of this decision....

The code only compiles with `Option Strict Off`; with `Option Strict On` I get the following compilation error: > BC30512: Option Strict On disallows implicit conversions from 'IOrderedEnumerable(Of String)' to...

Is there any reason not to allow the type to be inferred from the default value? e.g. this: ```vb Private Sub Test(s = "") ``` would be the same as...

@AdamSpeight2008 I don't think this is accurate: > In most case you just specify the parameter type's default value to appease the compiler. In my code I find myself specifying...