Google Blogoscoped

Forum

Google develops Java bytecode Analyzer for Downloading

Search-Engines-Web.com [PersonRank 10]

Tuesday, July 24, 2007
16 years ago2,766 views

http://code.google.com/p/google-singleton-detector/
The purpose to to detect Singletons

http://code.google.com/p/google-singleton-detector/wiki/FAQ
Here is their FAQ explaining the benefits

TOMHTML [PersonRank 10]

16 years ago #

Why there is never any example?

Zim [PersonRank 10]

16 years ago #

I couldn't find at google images what a singleton is, nor at the FAQ, and I don't want to wikisearch it, so I'll go bed with the doubt. (argh)

Bill Mac [PersonRank 9]

16 years ago #

A singleton is a design pattern that emerges in software systems, either intentionally because of perceived benefits, or out of apparent necessity because of existing constraints. Essentially, a class will have only static members, meaning that there is only ever one object instantiated, and thus that one object can serve as global shared state for other objects.

There is lots of info available on why this is considered bad form, and I apologize if my stab isn't 100% what you're looking for.

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!