r/functionalprogramming • u/Lubbadubdub • Sep 06 '17
Python Using Python... Struggling with inconsistency...
I'm mainly working with Python at the moment. Most people in my company are using oop, which is kinda "natural" given the choice of the language. In general, I don't like oop. I prefer simple solutions to complex ones when they can solve the same thing and oop adds one layer of abstraction to functions. I value consistency and explicity. I hate it that in Python sometimes you call by reference and sometimes by value and there's no apparent model behind it. Most people are using oop coz they dont care as much about which paradigm to use and it's always easier to argue for oop since "everything is an object anyway" (which is not entirely true and how is that a valid argument..). Is there a way to be more "functional" with Python? Are there good argument against using oop? Or maybe I should just give up and go with the flow...
View all comments
Show parent comment
2
u/Lubbadubdub Sep 07 '17
Thanks! Will check it out! However it still doesn't solve the problem of going against everyone else. I think the way I work is more important than what I work on (to some extent). I prefer to build solid building blocks than a huge chunk of flashy functionalities that is full of pitfalls. Deep learning is such a chunk itself, so maybe I'm in the wrong business/tech anyway.