Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use isNull for null checks #410

Closed
wants to merge 1 commit into from
Closed

Conversation

Numpsy
Copy link
Collaborator

@Numpsy Numpsy commented Mar 28, 2024

Some suggestions that I got when testing with the analyzers at ionide/ionide-analyzers#85

@JaggerJo
Copy link
Member

I actually prefer just having operators. Is there a good reason to use 'isNull' instead?

@Numpsy
Copy link
Collaborator Author

Numpsy commented Mar 28, 2024

It's supposed to generate more efficient code (there's some discussion and links in the FSharpLint issue at fsprojects/FSharpLint#439).

Saying that, quite possibly it doesn't really matter for cases in the diagnostics tools etc

@Numpsy Numpsy closed this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants