Hacker News new | ask | show | jobs
by AndrewDucker 2977 days ago
Constructors in the middle of your code make it harder to substitute mock objects for testing purposes.