Mohammad Hamdy Ghanem

Results 245 comments of Mohammad Hamdy Ghanem

Another way, it to just allow : ```VB.NET If Object Then 'Do Something End If ``` This will cause an exception today, as VB tries to cast non numeric objects...

`If If` !! This can't be readable!.. My first goal is the beauty and eloquence of the language. On the other hand, I see `pop?.IsOpen = False` as a very...

Also, the expression `If If(pop?.IsOpen, False) Then` will not assign False to `pop.IsOpen`.

@Echo-8-ERA This will make us write billions of lines of code in millions classes to do what the compiler can do for us, but this still will not solve the...

> I would rather look for ways to prevent null references from getting into my code in the first place You can't, and you shouldn't. We even make value types...

@Happypig375 > The compiler must be edited and maintained by people. You cannot expect one team to serve the world. They are paid for that. And a compiler will not...

@jrmoreno1 Thanks for this info. We are past hope to get anything new in VB.NET, so, I am sharing these ideas to be a part of any new implementation of...

@tverweij Thanks for the embedded invitation, but this is the mother land of the language, and all new implementations should talk it as a reference, at least, because the huge...

@tverweij I am aware of that, and it amazing. It will hopefully track VB developers and companies. Long live VB :)

> your real issue here is with the .net framework design .NET Core inherited it as is. Backward compatibility prevents fixing anything, and asking to duplicate methods in many classes...