News for hackers. Stuff that matters.
Re:Bedrock: a modern WordPress stack by krapp on Wednesday December 18, 2013 @05:43PM (#6931427)
things like this need to stop though:

   <?php /* pointless comment */ ?>
   <?php echo $something; ?><div><?php if($blah){ echo stuff(); ?></div><?php } ?>...
...keeping track of that context switching in a complex theme can be maddening. Especially if it includes inline css and javascript or (heavens forfend) mixes php in with the inline css and javascript...
Re:Bedrock: a modern WordPress stack by pestaa on Wednesday December 18, 2013 @06:09PM (#6931585)
Unfortunately, this is precisely the only thing PHP was invented for. It is a templating engine planned to be used exactly how you quoted.

Everything else is just accidental complexity.

Re:Bedrock: a modern WordPress stack by krapp on Wednesday December 18, 2013 @06:21PM (#6931670)
I know. Doesn't mean I have to like it though.