Text this: Elements of optical coherence theory