That might not be a good idea to give.
That might not be a good idea to give.
Now, you might think, "I don't owe the company anything", and that's totally true. But at the end of the day, you are in fact working with other people, and how you treat other people (and how they perceive you are treating them) has consequences both on your interpersonal relationships with these people, and potentially on your future career path. Tech is a pretty small community, and people have a funny way of having way too many mutual connections, so quitting (and leaving colleagues in the lurch) might come back to bite you somewhere else down the line.
My advice is usually to quit with enough time to wrap things up or hand them off gracefully, and not to blindside anyone (unless, again, of extraordinary circumstances). This amount of time is totally position-dependent; for some it could be 3 days, for others (maybe the director of an organization) it could be months. But 2 weeks in all cases is nonsense - it's totally dependent on your situation and rapport with colleagues.
When I quit my job, I intended to give four weeks notice, and to offer to work part time for a month later if they wanted it. Manager took the offer to their upper-management, upper-management came back and said, "nope, two weeks max."
I had prepared for that, but did not expect it, at all. Generally speaking you should only give notice if you're also willing to leave that day.
So, I'd re-phrase the original conversation as
"Hey Jerry, got a minute? Look, I don't think this is working out. I intend to give you a letter of resignation by the end of the day, but I want to discuss how much time you'd need to reasonably fill my position before I give my notice."
Then again, if you
1. hate your job, or
2. your manager is being unreasonable about how much time they need to fill that position, or
3. don't care about burning your bridges
Then go right ahead and give 2 weeks notice. It's up to you to decide how you want to frame the conversation.
Where I live, it's perfectly legal to say "I quit" and leave immediately.
Maybe they should do something about their interview false negative rate then.