jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:
Problem 1: trailing test iteration not directly supported
yes, I can fake it using “break”… but to paraphrase another: “use of break considered harmful”. long and harsh lessons have taught me that there should always be just one way in and one way out of any chunk of programming. in addition, harsh lessons have taught me that all iterators should require a guard condition at the beginning or the end.
Problem 2: infinite loop directly supported
think about it… no guard condition required.
4/5