In my state object for 2htdp, I have entries that are normally natural numbers. When the value of a particular entry is not meaningful during a certain activity, I could just leave the value as whatever it was before, but I would prefer to set it to an invalid value (such as -1 or #f) to indicate that it’s not being used. Is there any stylistic reason to prefer one over the other, and will the answer be different when I use Typed Racket?
-- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.