Why Robotlegs is against to statics and Singletones?

naghekyan's Avatar


11 Nov, 2013 08:40 AM

The reason I have met the people explain is debugging and testing. But I personally don't understand what is the deal with debugging and testing if you have statics and singletons? What is the problem?

  1. Support Staff 1 Posted by Ondina D.F. on 11 Nov, 2013 02:03 PM

    Ondina D.F.'s Avatar

    The links provided by Gregory Pakosz [http://stackoverflow.com/questions/2085953/unit-testing-with-single...] will answer your question:)

  2. 2 Posted by naghekyan on 11 Nov, 2013 02:48 PM

    naghekyan's Avatar

    The link in the answer (in stackoverflow) explains the idea very good. Thanks for the link!

  3. Support Staff 3 Posted by Ondina D.F. on 11 Nov, 2013 03:49 PM

    Ondina D.F.'s Avatar

    No problem:)

  4. Ondina D.F. closed this discussion on 11 Nov, 2013 03:49 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac