I think they meant to draw attention to the implementation of `yes` to showcase crustiness the C stdlib imposes on even a trivial program.
But of course GNU is kind of notorious in this regard. Compare their `yes` to OpenBSD's. It's night and day.
https://github.com/openbsd/src/blob/master/usr.bin/yes/yes.c