# and $chan are indeed evaluated the same way everywhere. Personally I use # just because it's shorter.