Does OOP make sense for small scripts?

Posted by Fabian on Stack Overflow See other posts from Stack Overflow or by Fabian
Published on 2010-06-14T18:38:04Z Indexed on 2010/06/14 18:42 UTC
Read the original article Hit count: 222

I mostly write small scripts in python, about 50 - 250 lines of code. I usually don't use any objects, just straightforward procedural programming.

I know OOP basics and I have used object in other programming languages before, but for small scripts I don't see how objects would improve them. But maybe that is just my limited experience with OOP.

Am I missing something by not trying harder to use objects, or does OOP just not make a lot of sense for small scripts?

© Stack Overflow or respective owner

Related posts about python

Related posts about best-practices