- Hands-On Dependency Injection in Go
- Corey Scott
- 143字
- 2021-06-10 19:17:51
Who is the user?
Much of the time, the answer will be future me and my colleagues. Your future me will be a better, smarter, and more handsome version of who you are now. Your colleagues, on the other hand, are harder to predict. If it helps, we can avoid considering the smart, fantastic ones; hopefully, whatever we do, they will understand. An intern, on the other hand, will be harder to predict. Chances are that if we can make our code make sense to them, then it will be just fine for everyone else.
If you ever have the chance to write software libraries for company-wide or general use, then this answer becomes a whole lot harder. In general, you want to aim low and only depart from a standard and straightforward format when there is no other choice.