Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What I like about PHP is how you don't have to use crap like Jinja2 or Twig to build complex logic while rendering HTML.

Of course, some people will cry "spaghetti code" but sometimes you just want to get work done.



Yeah spaghetti code people then love react/jsx/vue… in vue single file components include html/js/css (structure/logic/presentation) in one file and everybody loves it. In PHP you structure it same way (even without css) and its WRONG.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: