parameterize the printing of hints, and make the leftover print in
compilation become an error