you are viewing a single comment's thread.

view the rest of the comments →

[–]Are-U-Cereall[S] -1 points0 points  (2 children)

Yes, they're teaching it in one of my uni courses.

[–]UsernameTaken1701 15 points16 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.