Tag Archives: Synchronized

Application Wide Variables and Helpers: The Singleton

      1 Comment on Application Wide Variables and Helpers: The Singleton

One dilema when writing an app is where to put variables that contain the data for the application.  Traditional global variables are not a good place, and it becomes nigh on impossible to keep track of where those variables are being access from in the code, and in multi-threaded apps it would also be difficult to coordinate atomic access. Many… Read more »