I am the first on-site programmer and I find it super hard to get any significant programming work done during the working hours on weekdays. This is mainly due to the physical office setup(open, non-quiet office) and folks needing something from me or having a question at least once an hour.
So, what do I do? We have a bunch of offshore devs and I sit next to the PMs. I am able to offer advice in terms of prioritizing features etc. and doing the management part of my job.
However, the coding part of my job(at least 50%), I can rarely do anything that involves even tiniest of problem solving. I am left mostly to do quick 5 minute fixes or copy edits.
The real coding? I do it over the weekend. I just pushed a tiny feature that took me 45 minutes. I spent five scattered hours on Friday on the same thing making zero progress.
Ideas? Solutions? I already tried proposing to my boss(the CEO) to let me play with my hours and work evenings but he felt I should be around the office when others are.