> Technically this isn't correct. There is no runtime cost because there isn't any meaningful code to execute. I would bet that the cast is just optimized to null.

*My* code isn't correct? Why isn't there anything meaningful to execute?

> Another issue is that you may actually be trying to format an object instance that happens to be null!

In that case, the code I posted is still correct, since in that case, we just print `null` anyways? I did take that into account. Did I cover it wrong?