i wonder where one can find template interfaces.
eg. i am creating these classes that implements iLog:
DatabaseLog
ScreenLog
FileLog
i wonder what methods should a typical Log class have?
is there a set of interfaces you could just implement/learn from rather than reinvent the wheel and have to think about the method names.
eg. Interfaces:
iLog
iDatabase
iErrorMessage
etc.
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…