5 ms·
Agreed. Seems to me his answer is mostly taste rather than actual use. The thing about "complex regex" struck me as odd. Why are his routing regexes complex? I
by scorpioxy 16y ago
Agreed. Seems to me his answer is mostly taste rather than actual use.
The thing about "complex regex" struck me as odd. Why are his routing regexes complex? If they're that hard to write, then I'd suggest he'd revisit the routing scheme.
I haven't used Symfony before because I rather not develop in PHP unless I really have to. Having said that, If i ever have to, I'd like to give Symfony a try.
- rbanffy 16y ago> I rather not develop in PHP unless I really have to One would have to hold me at gunpoint to convince me to use PHP for anything serious.
- stevenwei 16y agoThat's why I'm sticking with Python even if Django isn't a perfect fit for me. call_user_func_array(array($object,'method_name'),array($arg1,$arg2,$arg3)); is literally the most retarded syntax I've ever seen for invoking an object callback, and is indicative of PHP's roots as a non object oriented scripting language.
- code_duck 16y agoNo doubt, the way PHP deals with functions is one of the worst parts about the language. create_function and the rest have been made a bit better, though, with the introduction of anonymous functions in PHP 5.3.
- deleted 16y ago[deleted]