Comment by javcasas
4 days ago
> it has to go somewhere
Yes, but going as a static method into a class that goes into a module is overkill vs just putting it in the module.
> Having a huge number of things globally is just confusing pollution.
I don't know what language you use, but modern programming languages allow specifying what to import when importing a module. You don't have to import everything from every module.
No comments yet
Contribute on Hacker News ↗