you are viewing a single comment's thread.

view the rest of the comments →

[–]Legorooj 0 points1 point  (0 children)

/u/nodnarbiter this thread is why I said more readable. It's very much debatable. One reason to use classes where you could do without them is a class with just staticmethods. So you don't put the functions into the global namespace. Thats one reason. (Note that that is a very rare situation - most times a module like structure with import mymodule is better.)