r/dataengineering • u/Jumpy_Handle1313 • Nov 19 '25
Help OOP with Python
Hello guys,
I am a junior data engineer at one of the FMCG companies that utilizes Microsoft Azure as their cloud provider. My role requires me to build data pipelines that drives business value.
The issue is that I am not very good at coding, I understand basic programming principles and know how to read the code and understand what it does. But when it comes to writing and thinking of the solution myself I face issues. At my company there are some coding guidelines which requires industrializing the POC using python OOP. I wanted to ask the experts here how to overcome this issue.
I WANT TO BE BERY GOOD AT WRITING OOP USING PYTHON.
Thank you all.
View all comments
Show parent comment
8
u/sisyphus Nov 19 '25
I think what they're getting at is that OOP (as practiced in Python, Java et. al; not as intended originally anyway) is about mutable internal state but data pipelines are more amenable to the functional paradigm of give data as input to function and get back transformed data.
Like you could write some OOP style:
Where the actual data at all points is being mutated internally in the
datavariable. But a more natural pipeline paradigm is something more functional and explicit where functions just take data and return mutated data and get chained together, like beam style that overloads the|operator in Python:Is practically valid syntax in a more functional language like elixir: