News for hackers. Stuff that matters.
Re:My favorite principle for code quality by icedchai on Tuesday May 22, 2018 @04:11PM (#17129003)
Most PHP is actually the opposite... Many PHP scripts, especially those from decades ago, are a mix of HTML, database calls, and business logic all in the same file.
Re:My favorite principle for code quality by flukus on Tuesday May 22, 2018 @08:58PM (#17130747)
And now we have JSX and this is considered good again.
Re:My favorite principle for code quality by jstewartmobile on Tuesday May 22, 2018 @10:53PM (#17131186)
Jumble code and markup together in PHP, and you've only got one language to put on your resume.

Jumble code and markup together in JSX, then you can put JavaScript, ECMAScript, React/Vue, npm, node.js, babel, and possibly webpack on it.