Interview question - Refactor or Leave it?
This is a question to all the devs who hire or interview. So I have an application that I wrote, which for my first proper project, is pretty big. I was learning as I wrote it. Whilst it functions exactly as I wanted it too, the code itself I know could be massively improved. In fact it did improve along the way, for example the first form is coded very differently to to the last one. including the actual form design. All the text boxes, comboboxes etc.. were all there but hidden and as the user adds new items it shows the next row. (this also limited the entries to 10 as there where no text boxes beyond that. In the latter forms they are added dynamically which removes the limitation of 10 entries. This will be my show piece for any interview I get so my question is. Should I refactor the whole project to the best of my current ability or leave it as it is so I can demonstrate the improvements as I got further into the project? Thanks Mike