Re:OO in Python is mostly pointless
by chriszhang on Thursday January 28, 2021 @05:37AM
(#25940313)
> How about file-like objects in python? Many file-like interfaces are necessarily stateful.
Still the state and the functions that operate on them can be separated out. Right? No reason why the state and the functions need to be tied together inside a class.
Still the state and the functions that operate on them can be separated out. Right? No reason why the state and the functions need to be tied together inside a class.