I would prefer to have the constant before this code.

It could be nice to put all constants at the beginning and then have some more code.