personally thinks code should also be creative. For example, you can have a game that redraw the UI every frame or have it stay there. While the both works, second one is better, but AI usually opt for the first one.