Hacker News new | ask | show | jobs
by Q_the_Novice 4375 days ago
Also found the coding style a bit complicated and confusing - looks like they are passing the User module to other modules(in this case the auth module) and adding methods.
1 comments

Yah, the module is actually an exported function. Makes sense, but a bit confusing.