> This is mainly because a front end developer can vomit into a PHP file and Wordpress will gladly display it.
This made me laugh, but it's, alas, very true. In WP's ecosystem, the code you find in plugins, themes and WP itself will just makes your eyes bleed.