If a part of a method requires implicit setup/tear-down code (for instance when using managed types like arrays, strings, etc), especially in rarely taken execution paths, then consider putting that code in a separate method. I bumped into this recently, and found out it*does not just hold for Delphi, it can happen in other languages […]
Weiterlesen...