Have you considered that maybe it's "no fun" for them because the societal expectations of what girls and boys should enjoy begin from an early age?
Perhaps the forms of play that lead many to programming (eg building things with lego) aren't encouraged as much as playing with dolls. These pressures and expectations come from family and friends from the day we are born, it's the classic problem of separating nature vs nurture.