Jump to content

David Heffernan

Members
  • Content Count

    3710
  • Joined

  • Last visited

  • Days Won

    185

Posts posted by David Heffernan


  1. 8 hours ago, Remy Lebeau said:

    You need to de-couple the classes so they don't refer to each other directly anymore.  Use interfaces or events/callbacks instead.

    Interfaces and callbacks might be the solution, but I'm always very sceptical of people who will tell you the solution to a problem that hasn't been clearly stated. 


  2. 1 hour ago, dummzeuch said:

    In my opinion using this kind of variables falls into the same class as using break and continue in a loop. A little bit better than goto, a little bit worse than using exit.

    Exit, Break and Continue are all good. No problem with them being used properly. 

     

    These local variables that are shared between local functions are very different because they tend to have larger scope that is harder to manage. 


  3. 3 hours ago, limelect said:

    @Kas Ob. @Anders Melander As what happens on the DPR I just edit (fix) the DPR  and compile.

    I moved from 7 to 10 where it started happening

    It seems I am not the only one. Where is Embarcadero then?

    P.S I have been with Delphi since #1

    I honestly can't make any sense of this text. Is it just me?

×