From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05 autolearn=ham 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: My new post on dev.to about SPARK Date: Thu, 9 Jul 2020 18:35:39 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <8e5d14a5-0311-4005-9655-951e8a274929o@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 9 Jul 2020 16:35:40 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="0e6a49d907b7798e2c4be6015261ef1a"; logging-data="28367"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18eYGMaSBFx2ojhAkOsSSM9ZsIj0vcy+fg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cancel-Lock: sha1:hL9ZtJiTAxbSyBK+xPNxHJSD/70= In-Reply-To: <8e5d14a5-0311-4005-9655-951e8a274929o@googlegroups.com> Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:59416 List-Id: On 7/9/20 4:16 PM, mockturtle wrote: > > Recently I wrote a small binary search procedure for a software of mine. This is good, but why did you write it from scratch? Why not start with an available, reusable binary search? Then you would have a proven, generally useful component. This is an interesting pedagogical example, but the actual algorithm is too specialized to be of general use. -- Jeff Carter "Well, a gala day is enough for me. I don't think I can handle any more." Duck Soup 93