3 ms·
It's really true. You can do a lot with data objects (dicts, lists) and stateless functions.
by emddudley 7y ago
It's really true. You can do a lot with data objects (dicts, lists) and stateless functions.
- civility 7y agoRich Hickey has some nice talks about why separating the data from the methods is really beneficial.
- corysama 7y agoThere’s a great Python talk out there titled “Stop writing classes”. It has several great demonstrations of Python code getting shorter, simpler and faster by converting code to just use the built-in containers.
- aaronchall 7y agoI did like that talk very much - and here was my response: > The Python Datamodel: When and how to write objects - https://www.youtube.com/watch?v=iGfggZqXmB0 https://www.youtube.com/watch?v=iGfggZqXmB0