Posts

Showing posts from 2012

Double Checked Locking Singleton Pattern

The Singleton Design Pattern is one of the most used patterns for providing a single instance of an object. It is thought to be made Thread-Safe by having Double-Check Locking eliminate the possibility of having 2 instances of the object made by 2 separate threads. While this is true, it does still allow a possible memory exception. The following paper  http://erdani.com/publications/DDJ_Jul_Aug_2004_revised.pdf  shows that when looking to use a Singleton, there are alternatives that provide better thread safe protection.

LEARN THE DIFFERENCE BETWEEN COMPUTER SCIENCE AND IT

Most people assume that all "computer people" are all the same. They all do the same work all the same way.  For those that do care to know the difference, the work they do is related and sometimes does overlap but there definitely is a subtle difference. According to Wikipedia the definitions of each are (IT)Information Technology  -   I n a business context, the  Information Technology Association of America  has defined information technology (IT) as "the study, design, development, application, implementation, support or management of computer-based information systems". [5]   http://en.wikipedia.org/wiki/Information_technology (CS)Computer Science - I s the  scientific  and practical approach to  computation  and its applications. A  computer scientist   specializes in the theory of computation and the design of computational systems http://en.wikipedia.org/wiki/Computer_science What this means is that IT is typically geared towards a sp