Tag | singleton Posts

I was sad to find out the "codingwithoutcomments" site was taken down. For the sake of a specific post from there, I went to waybackmachine.com and got that post, and I'm pasting it here.I have no rights on this article, I just think it's important to keep this online for people to read. -so if by doing so might be brake any law or offend any person, please let me know and I'll remove it as soon as I get it.Perpetually In Beta.Singleton I love you, but you're bringing me downwith 36 commentsIt was ...
Technorati Tags: Serialization,ISerializable... Patterns You know that when you serialize an object and then deserialize the main object and the deserialized one are different objects (different references). So what if you do not intend such behavior i.e in a singleton class. I’m almost certain that everyone is familiar with singleton pattern that solves the problem of having only 1 instance of a class in the entire application; so I’m not giving a speech about that here. Assume we ...