4 ms·
I often see programmers with a C/C++ background enter the Java world using Yoda conditions, where such practices serve no use. I used to work with a guy who in
by kentosi 16y ago
I often see programmers with a C/C++ background enter the Java world using Yoda conditions, where such practices serve no use.
I used to work with a guy who insisted on using yoda conditions, "just to be sure". This guy would also make sure he'd "null" out all his variables at the end of the method for the same reason.