Re: Introducing "Array Of" RFC

From: Date: Mon, 20 Jan 2014 21:18:22 +0000
Subject: Re: Introducing "Array Of" RFC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  Groups: php.internals 
Request: Send a blank email to internals+get-71356@lists.php.net to get a copy of this message
Hi! > I can only assume you're using sarcasm to highlight the ridiculousness > of that argument, because I know you, and you're not NEARLY that much > of an idiot. Thanks for you kind words (though I would really prefer to keep the topic on PHP and not on appraisal of my mental capacities, however excellent they may appear), but it is not ridiculous not in a little bit. I've seen genericized code in big projects, I've seen it both in Java and C++ (oh horrors!) and when it gets into the third level of templates (and it will) I don't think I want to go there if I can help it. I understand the value it may have for enormous projects with automatic code generation and type checking tools but my opinion is that is not the way PHP should be going towards. I think 90% of the use cases can and should be easily done in user code, and remaining 10% should be still done in user code, even though it would require additional effort. Yes, those 10% would be much easier if PHP language has support for them, but I see value in not sacrificing simplicity for the sake of 10% (actually, I think it's more like 0.1% but that's my personal assessment not based on any research). -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#71356) next »