(This thread is a spin-off from https://www.b4x.com/android/forum/threads/1-1.117065/, which is a really interesting thread that I encourage people to read in full.) I mean, if the compiler sees a comparison where one side is an object and the other is not, and its safer to put it on the right...
www.b4x.com
B4X:
If kvs.GetDefault("BooleanVariable", True) then 'is it correct?
'or
If 1 = kvs.GetDefault("BooleanVariable", True) then