From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Image attribute (yet again) Date: Mon, 27 Apr 2020 16:55:21 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <26e971a9-6fcc-4e4c-84ee-d74aecd5b217@googlegroups.com> <2c769c87-72f2-4107-b0bf-3846e3ae6c7a@googlegroups.com> <670160da-e66d-446f-a415-27df39d9a73f@googlegroups.com> <46d53a24-906e-4afc-a5b5-6d3235dfc658@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 27 Apr 2020 14:55:23 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="974905b2de7a535fcebd426c6d90e82f"; logging-data="6656"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19AaWya0MvYUFrhjNJYnNKBk61AN5rBgVU=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cancel-Lock: sha1:1J4dZkaPDcNk/hckJ187/EN79zU= In-Reply-To: Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:58512 Date: 2020-04-27T16:55:21+02:00 List-Id: On 4/27/20 3:42 PM, J-P. Rosen wrote: > > It compares the cost of rewriting with the cost of searching for > something already available, and the number of reuses necessary to break > even. It shows that for simple things (like the one we discussed above), > rewriting can be more cost-effective than searching the web for existing > stuff... That's a mischaracterization of the paper. It actually compares the cost of implementing and using an application-specific component to implementing and using a reusable component. Going to adaic.org and finding a library you like takes longer than writing a little subprogram like the one under discussion, but a lot less time than writing such subprograms repeatedly. -- Jeff Carter "This school was here before you came, and it'll be here before you go." Horse Feathers 48