From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:ae9:f306:: with SMTP id p6mr27023628qkg.94.1607874086166; Sun, 13 Dec 2020 07:41:26 -0800 (PST) X-Received: by 2002:ac8:24a1:: with SMTP id s30mr27830824qts.89.1607874086035; Sun, 13 Dec 2020 07:41:26 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 13 Dec 2020 07:41:25 -0800 (PST) In-Reply-To: <957fd2ad-079d-40c3-8fbf-a7d009deb714n@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2601:3c3:401:f550:9d5b:a9d4:6ed9:1c97; posting-account=JSxOkAoAAADa00TJoz2WZ_46XrZCdXeS NNTP-Posting-Host: 2601:3c3:401:f550:9d5b:a9d4:6ed9:1c97 References: <867dpmpy50.fsf@stephe-leake.org> <3739d281-8131-4096-b51d-11ac18647aecn@googlegroups.com> <957fd2ad-079d-40c3-8fbf-a7d009deb714n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5dd52f99-49c3-4403-859b-58f8bfdabfb7n@googlegroups.com> Subject: Re: Advent of code day 12 From: John Perry Injection-Date: Sun, 13 Dec 2020 15:41:26 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:60825 List-Id: On Sunday, December 13, 2020 at 12:40:35 AM UTC-6, Maxim Reznik wrote: > I used interface and tagged types to make solution more interesting :)=20 >=20 > https://github.com/reznikmm/ada-howto/blob/advent-2020/md/12/12.md Yes, I look at all=C2=A0the solutions listed on your Advent of Code page at= GitHub because I appreciate interesting answers, thank you. :-) This reminds me, though; you declare the Controls package, but in both Part= _1 and Part_2 you use "overriding" only on the Move procedure, not on any o= ther. I'm not familiar with interfaces yet; is there a reason you used that= word there and nowhere else?