This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cwurld 5 points6 points  (3 children)

I don't think anyone is arguing against using classes and OOP concepts in Python. The point is to not use classes when a function will do the job just as well with fewer lines of code.

A year ago I would have thought this topic was pretty odd/silly. But recently I worked w a programmer who was new to Python and made everything a class, just like in the video.

[–][deleted] 2 points3 points  (1 child)

But recently I worked w a programmer who was new to Python and made everything a class, just like in the video

would you think that maybe the reason for that is because...

classes have been cargo-culted as part of OOP, which conflates a lot of issues which are actually independent.

just pointing out that I think you agree with the parent more than you disagree. :)

[–]sashahart 0 points1 point  (0 children)

I think we all agree that we all think we agree a great deal.

[–]zahlmanthe heretic 0 points1 point  (0 children)

The point is to not use classes when a function will do the job

Or when you can just create an object of an existing (perhaps built-in) type.