Comment
Comment by patrec
Let's take your static printf as a concrete example. Here's what a not so great error message looks like (ocaml's built in Printf):
Here's what a good error message looks like:
Notice how it also highlights the mismatched part in the string-based DSL.