what if I told you PHP does not require you to write ugly code?
You can do the same in any other language.
Of course, if the language makes it very easy to write bad code, even as a good programmer I could easily end up writing stuff that's incomprehensible etc.