Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 97309 invoked from network); 12 Aug 2004 18:17:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Aug 2004 18:17:35 -0000 Received: (qmail 16585 invoked by uid 500); 12 Aug 2004 18:17:33 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 16504 invoked by uid 500); 12 Aug 2004 18:17:32 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 16479 invoked by uid 99); 12 Aug 2004 18:17:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [195.154.174.52] (HELO mail.logilune.com) (195.154.174.52) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 12 Aug 2004 11:17:29 -0700 Received: from [127.0.0.1] (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 3070D1E1A0D; Thu, 12 Aug 2004 20:17:24 +0200 (CEST) Message-ID: <411BB42F.50805@stason.org> Date: Thu, 12 Aug 2004 11:17:19 -0700 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040708 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Geoffrey Young Cc: "Philippe M. Chiasson" , Fred Moyer , dev@perl.apache.org Subject: Re: [mp2] Report on mp2 accessors in apache_structures.map References: <46287.68.167.196.237.1092151246.squirrel@mail.redhotpenguin.com> <4118F2DB.6040203@ectoplasm.org> <411B1688.6090604@stason.org> <411B7EBE.7080806@modperlcookbook.org> In-Reply-To: <411B7EBE.7080806@modperlcookbook.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Geoffrey Young wrote: > > Stas Bekman wrote: > >>Thanks for making the mp1 vs mp2 API get/set comparison and the patch, >>Fred. Your original version is now mostly integrated in various commits. >> >>I'm not quite agreeing with Philippe and Geoff. Blindly opening up >>fields, which have no special ap_ accessors for them is probably a good >>recipe into getting in troubles. I know Geoff's favorite phrase is "give >>them the feature and they will find the use for it". In this particular >>case, I'd suggest to be more cautious and leave things readonly until >>someone will ask to open up the accessor(s) to be settable. > > > looks like it was more than a suggestion, since you went ahead and committed > the changes despite the comments from philippe and I. Not quite so. I've committed the current state of things, matching the documentation and tests. >>If you think some method should be settable, come up with an example >>where it'll be useful, > > > I believe we did that in all cases where we wanted to maintain writability. definitely far far away from all cases. >>It doesn't >>take more than 1 second to open it up. > > >>make it a test and see if it works, then open it >>up. I know we have quite a few methods whose settable functionality is >>not tested, but it really should. > > > these both go to the point we have discussed before, and which I thought we > had agreed upon, namely that 2.0 should be API freeze for documented and > tested methods, but that we would allow untested methods/functionalities in > under the caveat that the interface may change or completely go away. isn't > that what we had agreed upon? Yes, we did and that's what happening so far (in case you were following the development in the API docs area). For the moment a method is either supported or not, as a whole, not partial functionality. We weren't talking about the more granular unsupported functionality. I suppose we could introduce that more granular unsupported feature, when for example the settability of some method could be marked as experimental. But we can just as well do that in one of the releases following 2.0. How does that sound? If you like the idea may be we should list the potential settable accessors somewhere in todo files? -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org