"The first engineers were irrigators, architects, and military engineers. The same man was usually expected to be an expert at all three kinds of work. This was still the case thousands of years later, in the Renaissance, when Leonardo, Michelangelo, and Durer were not only all-round engineers but outstanding artists as well. Specialization within the engineering profession has developed only in the last two or three centuries."
A good primer on the social context of engineering is L. Sprague de Camp's "The Ancient Engineers", https://news.ycombinator.com/item?id=8158385
"The first engineers were irrigators, architects, and military engineers. The same man was usually expected to be an expert at all three kinds of work. This was still the case thousands of years later, in the Renaissance, when Leonardo, Michelangelo, and Durer were not only all-round engineers but outstanding artists as well. Specialization within the engineering profession has developed only in the last two or three centuries."