As a literary device, irony implies a distance between what is said and what is meant. Based on the context, the reader is able to see the implied meaning in spite of the contradiction. When William Shakespeare relates in detail how his lover suffers in comparison with the beauty of nature in “My Mistress’ Eyes Are Nothing like the Sun,” it is understood that he is elevating her beyond these comparisons; considering her essence as a whole, and what she means to the speaker, she is more beautiful than nature.
Dramatic or situational irony involves a contrast between reality and a character’s intention or ideals. For example, in Sophocles’ Greek tragedy Oedipus Rex, King Oedipus searches for his father’s murderer, not knowing that he himself is that man. In “The Convergence of the Twain,” Thomas Hardy contrasts the majesty and beauty of the ocean liner Titanic with its tragic fate and new ocean-bottom inhabitants:
Over the mirrors meant
To glass the opulent
The sea-worm crawls — grotesque, slimed, dumb, indifferent.
Dramatic or situational irony involves a contrast between reality and a character’s intention or ideals. For example, in Sophocles’ Greek tragedy Oedipus Rex, King Oedipus searches for his father’s murderer, not knowing that he himself is that man. In “The Convergence of the Twain,” Thomas Hardy contrasts the majesty and beauty of the ocean liner Titanic with its tragic fate and new ocean-bottom inhabitants:
Over the mirrors meant
To glass the opulent
The sea-worm crawls — grotesque, slimed, dumb, indifferent.