Hallo, Andy Farnell hat gesagt: // Andy Farnell wrote: > Cool Frank and Matju, comparing pre-inc with accum for this is fun.
It's very similar. But what I like most about the accumulator idiom is, that it *looks* very much like the normal counter, so you can even *see* the close relation of the two, which also makes the accumulator idiom ease to remember: It's just a counter with the two participants switching places: [f ]x[+ 1] and [+ ]x[f ]. Ciao -- Frank Barknecht _ ______footils.org_ __goto10.org__ _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
