This code works for our purposes but it’s not exactly dynamic. If we wanted our initial simpleMsg object to sometimes act excited and sometimes quizzical, we could only do so by instantiating entirely new objects from the relevant subclass. Moreover, the ExcitedAndQuizzicalMessage is really just a combination of ExcitedMessage and QuizzicalMessage and probably shouldn’t have its own class. To fix these problems, let’s now return to the decorator pattern and see how it might help us.
A veduta is a highly detailed, usually large-scale painting of a cityscape or some other vista. This genre of landscape originated in Flanders, where artists such as Paul Bril painted vedute as early as the 16th century. As the itinerary of the Grand Tour became somewhat standardized, vedute of familiar scenes like the Roman Forum or the Grand Canal recalled early ventures to the Continent for aristocratic Englishmen. In the later 19th century, more personal impressions of cityscapes replaced the desire for topographical accuracy, which was satisfied instead by painted panoramas.
Color, made up of hue, saturation, and value, dispersed over a surface is the essence of painting, just as pitch and rhythm are the essence of music. Color is highly subjective, but has observable psychological effects, although these can differ from one culture to the next. Black is associated with mourning in the West, but in the East, white is. Some painters, theoreticians, writers and scientists, including Goethe, Kandinsky, and Newton, have written their own color theory.