News for hackers. Stuff that matters.
Re:PHP Annotations Are a Horrible Idea by jentulman on Wednesday October 17, 2012 @08:31AM (#4664066)
3) In this specific case we're reliant on Doctrine to read Doctrine annotations because we're already reliant on Doctrine to be Doctrine. Possibly relevant if the annotation reader was purely collecting metadata it did not use itself.
Re:PHP Annotations Are a Horrible Idea by theunraveler on Wednesday October 17, 2012 @08:53AM (#4664151)
Not necessarily. Several Symfony components rely on doctrine/common simply for parsing annotations, even if you are not using Doctrine for anything else.
Re:PHP Annotations Are a Horrible Idea by jentulman on Wednesday October 17, 2012 @09:11AM (#4664215)
Oh okay. I'd never noticed that because I've always got doctrine in use anyway. /me wanders off to look more closely at the components.
Re:PHP Annotations Are a Horrible Idea by jmias on Wednesday October 17, 2012 @09:49AM (#4664364)
Witch clearly proves that is a bad idea because it injects a dependency on some other lib