Ryan Price

Results 106 comments of Ryan Price

If you look through the issues in this repo, you will find a few discussions about TypeOf, and how its behaviour is not always what people expect.

I'm pretty sure that I get warnings in my editor about this, which I'm sure is a very common pattern; I know I use it a lot. What options are...

I have sympathy with: > I suggest to allow: > `Dim A = {1 To 5}` > which means: > `Dim A = {1, 2, 3, 4, 5}` But the...

> What is not readable about: x of 10 to 13? This is exactly what `x[10 to 13]`. You can ask non programmers about its meaning and see how many...

> It also allows to regain an old vb6 feature: > `X[ 10 to 13] = "example"` ? That's not a VB6 syntax that I recognize. And I know it...

> So, it can act as a replace expression too, for both lists and strings. > I know string is immutable, but I see no harm in allowing: > `X(1)...

> So, please forget about the class library and C# way of thinking Respectfully; I disagree. A "Class library way of thinking" and a "C# way of thinking" are two...

> This is why I didn't use mid statement for 2 decades, since it is rarely useful. > So, I need: > > ``` > Dim x = "abcd" >...

Actually. Personally, I no longer return values from functions this way - I always use a "Return" statement. BUT this is legal syntax in VB: ```VB Function Foo() As Integer...

> But I wouldn't use the function name in the right-hand side, as only `()` can make it a recursive expression. I don't think that's a necessary limitation. This completely...