If anything it is INVERSELY related, as the more code may cover being able to better recover if something goes wrong and would be more flexible. For example, it takes far less code to reject any date string not entered in the "DD/MM/YYYY" format then it is to automatically convert all other formats to the right one, or just provide a flyout calendar picker.That's completely irrelevant though. How long the code is isn't directly related to how user friendly it is.