I have known about the dangers of using the with statement for a long time now.* Today, I encountered a new one.* I was refactoring code in a datamodule used to iterate over a dataset and insert each record into the database (a common construct).* The numerous ParamByName() calls were enclosed in a ...
More...