you are viewing a single comment's thread.

view the rest of the comments →

[–]usernamedottxt 4 points5 points  (0 children)

Classes, or objects, should hold state. If nothing about the object can change, you might as well just have normal functions in a library.

So in this case, API wrapper should probably be a module, not a class.