News for hackers. Stuff that matters.
Re:Ask HN: What makes PHP so difficult? by carloc on Monday January 07, 2013 @04:34AM (#5020198)
PHP offers a lot of choice.

You can use it rather nicely, but it also allows you to write some really awful code. Admittedly, it does not do much to help you write good (=understandable, maintainable) code.

This post is rather interesting in terms of using the good parts of PHP:

http://fabien.potencier.org/article/64/php-is-much-better-th...

I have been using the author's PHP framework for 2 years now and have experienced huge improvements in the quality of the code I write simply by being exposed to his example. He basically uses a lot of objects but very little inheritance. He also is religious about the DRY principle.

Re:Ask HN: What makes PHP so difficult? by debacle on Monday January 07, 2013 @09:50AM (#5021164)
Silex or Symfony?
Re:Ask HN: What makes PHP so difficult? by carloc on Tuesday January 08, 2013 @05:57AM (#5025676)
Both, but mainly Symfony.