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?
My suggestion, you can try leave it for improvement,
if there is no any improvement can do,
then proceed to refactor.
Both for refactor and leave have pros and cons.
You have to evaluate which one it getting more easier and benefits more to proceed.
They may see the improvements as you progress through your software.
Because they want to see how you can improve and maintain your
software well more than you create the software.
Nowadays, mostly company will not create the new software , they probably will maintain and improve the current software unless there have any reason to do that.
@Uchiha itachi The code in terms of usage is fine as the software will only be used by me.
the question is more for interview purposes. Will the interviewer prefer to see my code at the best of my ability or will they like to see the improvements as I progressed though making software?
Thanks, I don't actually have one yet, I am going to start applying once I have completed my MCSD Certification.
I am just starting to think about interviews and how I will tackle them, hence the question. Thanks again for your help.
IMHO, refactoring is an extreme. I'm not a professional, but I've been a hobbyist for 40 years, so I'd like to think I know good programming practices. I say show them what you got!! They're probably gonna ask you a fair amount of questions anyway. Best of luck, Mike!!