Why is it bad to “monkey with the loop index”?

前端 未结 1 1038
既然无缘
既然无缘 2021-02-12 23:11

One of Steve McConnell\'s checklist items is that you should not monkey with the loop index (Chapter 16, page 25, Loop Indexes, PDF format).

This makes intuitiv

相关标签:
1条回答
  • 2021-02-12 23:59

    I think your articulation is great. Maybe it can be worded like so:

    Since the logic can be expressed much clearer, it should.

    0 讨论(0)
提交回复
热议问题