Hacker News new | ask | show | jobs
by sampo 621 days ago
> https://news.ycombinator.com/item?id=29083367

> > https://blog.danslimmon.com/2019/07/15/do-nothing-scripting-...

What is the point of defining a Python class with a single `run` method, and then running with `Class.run()`, instead of just defining a `function` and running with `function()`?