newable Questions

3

Solved

I tried with this but it doesn't work. Foo is just a test of what works. Bar is the real try, it should receive any newable type but subclasses of Object isn't valid for that purpose. class A { }...
Loggerhead asked 19/10, 2015 at 21:14

1

When writing code we should be able to identify two big group of objects: Injectables Newables http://www.loosecouplings.com/2011/01/how-to-write-testable-code-overview.html http://misko.hever...

3

Solved

Assume you divide up your systems in Value objects and Services objects (as suggested in "Growing Object-Oriented Software, Guided by Tests". Misko Hevery calls these "newables" and "injectables". ...
Pontus asked 25/6, 2010 at 12:3
1

© 2022 - 2024 — McMap. All rights reserved.