Rob's Technology Corner – Hey when I change X why does it break Y when they "should" be completely unrelated. It's a common problem in development where changing one bit of code has unintended side effects on a different section of code. Proper varible scoping can help reduce these errors. Unit testing is the other piece to solving this problem.Lets start with the most common global variables. They are are almost always bad, in fact it's really hard to come up with an example of where I feel like they should be used. However, by default Delphi creates several of them ...
Visits by Source
Users who voted for this posting
Jørn E. Angeltveit