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