3 ms·
In an OO-world function extraction usually results in private methods to a class. You (generally) don't test those directly so it doesn't necessarily result in
by jbrechtel 14y ago
In an OO-world function extraction usually results in private methods to a class. You (generally) don't test those directly so it doesn't necessarily result in more specific unit tests.
- maio 14y agoWell you can extract methods into new object where they will be public.