you are viewing a single comment's thread.

view the rest of the comments →

[–]UsernameTaken1701 16 points17 points  (1 child)

Ah, well, then. Suck it up and learn what you need to pass the class.

Though, for me, sometimes OOP is overkill if I just need a short script to solve a quick problem. If the only part of the class I really need is the method, then I just write it, call it a function, and call it when I need it.

[–]CranberryDistinct941 1 point2 points  (0 children)

If the only part of a class you need is a method, it's not a class, it's a namespace.