I would argue that it is actually waaay more awkward to use objects for this. See my example code here:
https://news.ycombinator.com/item?id=23338700
You will see that it is far more concise and intuitive to do it with a function.
https://news.ycombinator.com/item?id=23338700
You will see that it is far more concise and intuitive to do it with a function.
No comments yet.