It's not the constant interruptions (headphones do a good job of dealing with that), its the lack of internet access that is the showstopper - I don't have all the APIs + docs in my head.
I use https://kapeli.com/dash for offline documentation for when I'm on flights. Also, WiFi has been available on more and more flights. I actually have found long flights good for solid focused coding sessions (especially when I already have thought through what I want to build).
edit: woops, looks like someone submitted this at the same time. In any case, working offline also forces you to reign in your app dependencies.
edit: woops, looks like someone submitted this at the same time. In any case, working offline also forces you to reign in your app dependencies.