Skip to main content
7 events
when toggle format what by license comment
Apr 21, 2013 at 17:46 comment added garcianavalon thanks for the answer. I have choosen the OO way. Not only because of our answer but I have also find the code its cleaner and simpler that way, I dont like static methods to much :)
Apr 21, 2013 at 17:44 vote accept garcianavalon
Apr 17, 2013 at 12:15 comment added Andrei Zubov Good point. Method injecting via delegates is interesting and perfectly viable approach. I almost forgot that I actualy used it myself. It mixes some functional programming into an object paradigm though, and when used improperly can cause problems or decrease readability of code (just like improper use of objects does in fact).
Apr 17, 2013 at 11:56 history edited gnat CC BY-SA 3.0
spelling, formatting, personal stuff cleanup
Apr 17, 2013 at 11:54 comment added jk. OO is the only way to go for testing is not true, static methods can be injected just fine in any language which supports first class functions or delegates
Apr 17, 2013 at 11:52 review First posts
Apr 17, 2013 at 11:56
Apr 17, 2013 at 11:36 history answered Andrei Zubov CC BY-SA 3.0