To me it only makes sense to use an external definition file that can be updated independently of the program code.