Hacker News new | ask | show | jobs
by tomkwong 2210 days ago
OP here. The code presented in the blog post was just an example although your points above are well taken. Practically, the decision to do abstraction or not depends on the use case and requirements.