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
Remove EqualsAvoidNull check from Qulice #807
Labels
Comments
@davvd valid bug |
@mkordas thanks for the report, I topped your acc for 15 mins, payment ID |
@mkordas, my bad! Edited the original comment |
@0crat in |
@krzyk thanks for merging! |
The job #807 is now out of scope |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently Qulice prohibits code like
in favour of
The reason behind this is to avoid null pointer exceptions when
input
isnull
. However, IMO it's just hiding a problem, while code should be fragile. Moreover, in well written codeinput
should never benull
anyway.Second reason to remove this check is that inverted notation is unnatural and less readable.
In scope of this issue I expect that check is removed and test is added proving that first syntax is allowed.
The text was updated successfully, but these errors were encountered: