3 ms·
Hmm could be an interesting way to decorate funcs with logging.
by meddlepal 7y ago
Hmm could be an interesting way to decorate funcs with logging.
- pjmlp 7y agoThis is basically the idea behind Aspect Oriented Programming. https://en.wikipedia.org/wiki/Aspect-oriented_programming https://en.wikipedia.org/wiki/Aspect-oriented_programming
- meddlepal 7y agoYea I was aware... I hesitated to suggest this could lead to AOP for Go because I'm not fond of AOP and it's magicalness at all (used to write a lot of Java)