News for hackers. Stuff that matters.
Re:The use of `class` for things that should be simple free ... by crimsonalucard1 on Thursday May 28, 2020 @12:10PM (#23338953)
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.

There are no comments on this comment yet.