Text this: Box dimension, oscillation and smoothness in function spaces