Programmers--sorry, seamen--hired from places like India and Russia would have their own cabins, work eight- or ten-hour stretches on either a day or nightshift and have the rest of the time to sleep, play shuffleboard or take a water taxi to shore.
The evening shift may leave a muddle behind for the nightshift to sort out, and the nightshift may get its own back by bequeathing a worse mess for the dayshift.