It seems like callbacks would be considered a bad practice since you’re having to expose the contents of a function to a library/API. I’m probably misunderstanding something.

submitted by /u/sleeponitheavy
[link] [comments]