I'm resigning from my current job because of a few ethical issues that happened during the past couple of months. This decision is already made. In aproximately 6 months (in October) I will leave my country to do a post-graduate degree abroad. Between this month and October there are 6 months that I'd like to spend doing what I do best - coding in order to raise more money.
Recently I saw this open position at a different company which I fit perfectly. The company has a good reputation, and it is using technologies that I'm already accustomed to.
However, I'm hesitant to apply because I know that I'll be out of the company in 6 months. Should one still go through the interview process and try to negotiate a finite, 6 month contract? Or should one just do a freelance/contract work (which is often hard to find in my country) to fill this time gap (which won't look good on my resume if left empty).