Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Suggestion Query not null

Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Is it possible for the current query system not to return null when calling for example nearest?
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,053
Making them return null values was an intentional design decision made by @Cloud. Forces the developer to follow best practices (and in the process learn them) and prevents the whole "sloppy but it works" concept.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Making them return null values was an intentional design decision made by @Cloud. Forces the developer to follow best practices (and in the process learn them) and prevents the whole "sloppy but it works" concept.
Basically this, returning null forces the developer to do better error handling.
 
Top