coding
Sentinel values in loops
A quick google search for loop sentinels reveals a lot of pages whose focus is using a sentinel value to determine when to end a loop. IMO this misses the key (if you will excuse the expression) value of loop sentinels: preventing unnecessary code duplication. I'm going to