Use yoda conditions and type safe comparisons