I write PHP, and I was shocked when I have to write WordPress plugin for the first time.
The forms API in WordPress, for example, require you to output HTml directly from the callback function.
Granted, it was a design that make sense 15 years ago, but I would have though there would be newer API.
It work fine, sure, but doesn't mean I have to like it.