comp.lang.ada
 help / color / mirror / Atom feed
* Advent of Code, Day 17
@ 2020-12-17 20:21 John Perry
  2020-12-18 16:40 ` John Perry
  0 siblings, 1 reply; 4+ messages in thread
From: John Perry @ 2020-12-17 20:21 UTC (permalink / raw)


Today we have another variant on the game of Life. I was determined to do it with arrays only, but got held up trying to define the types because I was stuck in a C way of thinking about multidimensional arrays. Once I got into the Ada way of thinking, things became simpler: it was really nice to have negative array indices available!

Alas, I discovered at least one bug in gnat, which I will report.

john perry

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-19 10:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 20:21 Advent of Code, Day 17 John Perry
2020-12-18 16:40 ` John Perry
2020-12-18 19:47   ` Gautier Write-Only Address
2020-12-19 10:37     ` Maxim Reznik

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