Text this: Implementing spectral methods for partial differential equations