Why Robotlegs is against to statics and Singletones?
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?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Ondina D.F. on Nov 11, 2013 @ 02:03 PM
The links provided by Gregory Pakosz [http://stackoverflow.com/questions/2085953/unit-testing-with-single...] will answer your question:)
2 Posted by naghekyan on Nov 11, 2013 @ 02:48 PM
The link in the answer (in stackoverflow) explains the idea very good. Thanks for the link!
Support Staff 3 Posted by Ondina D.F. on Nov 11, 2013 @ 03:49 PM
No problem:)
Ondina D.F. closed this discussion on Nov 11, 2013 @ 03:49 PM.