MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/41jf45/objectoriented_programming_is_bad_brian_will/cz3sgcs/?context=3
r/programming • u/TheLeftIncarnate • Jan 18 '16
203 comments sorted by
View all comments
Show parent comments
2
You might want to familiarise yourself with the terms "module" and "abstract data types". From what I can tell, they do most of what you need.
I mean, you don't need classes to encapsulate stuff. Modules are just as effective, and sometimes, even a simple function is enough.
2
u/loup-vaillant Jan 19 '16
You might want to familiarise yourself with the terms "module" and "abstract data types". From what I can tell, they do most of what you need.
I mean, you don't need classes to encapsulate stuff. Modules are just as effective, and sometimes, even a simple function is enough.