dotnet / dotnet/vblang

I propose we add Something keyword

Open
#546 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

I propose that we add Something keyword.

We sometimes write like this:

```
If object Is Nothing Then
Do Someting
End if
```
Sometimes we write:
```
If object IsNot Nothing Then
Do something
End If
```
Sometimes we just want to check that the variable has something. It should be clearer to write:
```
If Object Is Something Then
Do Something
End If
```
I think Something would be clearer to read than using _IsNot Nothing_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.