News for hackers. Stuff that matters.
Re:I Like PHP by adambard on Wednesday August 10, 2011 @02:41PM (#2869592)
I worked on a large PHP codebase for a few years, and that sounds very familiar. We never did get it untangled enough to test before I left.

Do you have a static analyzer or something like it that enforces the no-circular-dependencies rule, or is it just a procedural thing?

Re:I Like PHP by bbillings on Wednesday August 10, 2011 @03:26PM (#2869783)
We have a static analyzer that runs when we submit a diff yes or try to commit, but in our "require_module" we also check for circular dependencies at run time. If you create one you get the module stack dumped into your log and promptly exited with an error message.