I think that null == user
is an best practice in C/C++ world.
It prevents typos like:
if (user = null) {
to happening, since they pass silently and they are very dangerous. Using null = user
is safer in C/C++ (but not in C# since the compiler will complain) since the compiler cannot compile it.