I owned a copy of Game Programming Gems a while ago and used Singletons in an application. I wanted to know if Singletons are considered an algorithm and if not what are they?. Secondly, I am going to most likely purchase Knuth's algorithm book and wanted to know if methodologies like Singletons are covered in it?
Asked
Active
Viewed 140 times
1
-
3Singleton is a design pattern. Design patterns are not the same thing as algorithms. – Barmar Mar 12 '15 at 01:03
-
3Knuth doesn't cover programming methodologies or design patterns in his books. – Barmar Mar 12 '15 at 01:04
-
Thanks for removing the downvotes but I still have not got an explanation as to why it was downvoted. – eidetmp Aug 22 '15 at 02:47
-
No one removed the downvotes. Someone else gave it an upvote, and they cancelled out. Whoever gave the downvote will never see your question, so there's no way to know why he did it. – Barmar Aug 22 '15 at 23:18
-
But I suggest you go to the [Help Center](http://stackoverflow.com/help) and read about how to ask a proper question here. – Barmar Aug 22 '15 at 23:19