Text this: On sup- and inf-attaining functionals