I recently started on a new team, with a single fellow developer. Under the motto of 'getting her up to speed as quick as possible', my co-worker has spent the past week sitting at my desk (open office space, yet a few desks reserved for the team so he's always close) and telling me what to write down. And by that I mean spelling everything out, he's not telling me 'this is what your code should do' but he's literally telling me to write down System.out.println("Hello World");
.
I'm not new when it comes to the language I'm programming in, so I don't need this kind of heavy guidance. He's explaining me things I already know, telling me to write down things I already know perfectly well how to write down. When he does end up explaining/mentioning some new trick, his way of 'explaining' allows very little/ no time to actually write stuff down or practice, so information has a very low chance of actually being retained well.
He's constantly asking (every 15/30 minutes, sometimes every hour) to see code that isn't finished yet, tells me the bits that are done are great, and then just goes on to dictate the next step, the next line of code, that I haven't had time to develop on my own yet.
Over the past week, I've tried to convince him that I am in fact, capable of doing a lot of the stuff he has been explaining to me and that it may be more productive if he started working on his own portion of work for this sprint.
I started by simply asking:
'Thank you. I think I got the rest of this, mind if I try on my own for a while? I'll let you know if I need your help'.
After that, I've pointed out directly that this way of working isn't productive. I've met his remarks with 'I know', I've typed ahead without him saying anything. I've shown that I can do stuff on my own, I've also shown that I will ask him for help as soon as I get seriously stuck (even a few times figuring out what was the problem before he did). I've asked him multiple times to let me figure things out on my own, then showing that I am indeed capable of doing so, which he seems to confirm. Sometimes it results in being able to work on my own for 10 minutes, sometimes for up to an hour, sometimes it doesn't seem to register and he just continues talking. But he always checks in really soon after.
I'm a bit at a loss here, as he's not giving me signals that he thinks I'm actually a bad programmer that needs this heavy guidance, nor are there any signals that he thinks I'm e.g. working too slow. The only reason I got from him for doing this is 'that I want you up to speed as soon as possible'. When I asked directly if my current pace of working is too slow, I got a 'no, not at all' and a 'now, type this:...'.
Given what I've already tried, and his reactions to it, would there be any other way to persuade my co-worker to let me do my work and that he should focus on his own work?
I know I can always escalate this to management/scrum masters, but I'd really like to make one last attempt without a mention of escalating if at all possible.