smartlist_foreach 374 B

123456
  1. o Code simplification and refactoring:
  2. - Do not allow the body of any SMARTLIST_FOREACH block to exceed
  3. 10 lines. Doing so in the past has led to hard-to-debug code.
  4. The new style is to use the SMARTLIST_FOREACH_{BEGIN,END} pair.
  5. - Do not allow SMARTLIST_FOREACH blocks to nest. Any nested block
  6. ought to be using SMARTLIST_FOREACH_{BEGIN,END}.