Comment Re:TRWTF: List is used instead of Map (Score 1) 128
I should have read the linked questions before replying...
Stupid, stupid, STUPID! Why have numRows and numCols in a sparse array? Things with unnecessary, arbitrary bounds annoy me. My implementation of Conway's Game of Life runs on a sparse array precisely because that allows the world to stretch arbitrarily in any direction a glider goes, limited only by the capacity of the bignum library and the total store available to the program.
And this is how we teach computer science?
Sigh.