Programming Tips: Avoid NULL values

One way to make your code simpler and avoid potential bugs is by avoiding NULL values when possible. Usually you won't have a significant performance overhead doing this.  By not returning null values you eliminate null pointer exceptions and also you simplify your code by eliminating the null checks. Example 1 Simplify your code by … Continue reading Programming Tips: Avoid NULL values