2 ms·
Make your code modular. Use dependency injections. Write short, clear functions. When everything is DRY and functions follow SRP, it's hard for your code not t
by throw1234651234 6y ago
Make your code modular. Use dependency injections. Write short, clear functions.
When everything is DRY and functions follow SRP, it's hard for your code not to be "future-proof."
Tests only when they make sense, not when you are mocking half the app.