It's sometimes easier to paint the before, particuarly if there are 'hidden' recesses or if they are deep, but of course, some masking will be necessary if you use an airbrush to apply the camouflage color. Any corrections can then be made with a brush.
For the cockpit details, I always paint before closing the fuselage, but in some cases, I'll leave seat, sight, other details off until after final painting (to make masking easier).