comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Advent of Code Day 4
Date: Fri, 4 Dec 2020 19:25:05 +0100	[thread overview]
Message-ID: <rqduu1$fte$1@dont-email.me> (raw)
In-Reply-To: <348b76a7-0a9d-497c-94e7-cb822502d9b9n@googlegroups.com>

On 12/4/20 5:16 PM, John Perry wrote:
> I found this one tougher, in part because I've never done much text file processing, but also because the directions were very scant on the format of the entries, and I wasn't about to comb carefully through hundreds of entries to see what all the variations might be.
> 
> I'll be very interested to see how different people read the file.

Enumeration types are your friend.

-- 
Jeff Carter
"[O]ne can look forward to a rapid and widespread
improvement in programming practice, both from
those who use the language [Ada] and from those
who study its concepts and structures."
C. A. R. Hoare
181

  reply	other threads:[~2020-12-04 18:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04 16:16 Advent of Code Day 4 John Perry
2020-12-04 18:25 ` Jeffrey R. Carter [this message]
2020-12-04 19:33 ` gautier...@hotmail.com
2020-12-04 20:20   ` Maxim Reznik
2020-12-04 21:27     ` gautier...@hotmail.com
2020-12-05  3:56     ` Simon Beàn
2020-12-05 15:11     ` John Perry
2020-12-04 22:55 ` Stephen Leake
2020-12-04 23:49   ` Jeffrey R. Carter
2020-12-05  0:11     ` recantation Bill Findlay
2020-12-05  2:06   ` Advent of Code Day 4 Stephen Leake
2020-12-05 11:56     ` Jeffrey R. Carter
2020-12-05 14:00       ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox