I think both is the most practical scenario most of the time. With a flexible programming language use the paradigm that best fits the situation.
In some frontend scenarios it probably does make sense to go hardcore functional though. It will likely be a slower, more complicated building process, but could result in really consistent code.
Love this. Yesterday i wrote my React component with FP implementation and my custom library with OOP implementation to manage local storage and session storage in my web.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think both is the most practical scenario most of the time. With a flexible programming language use the paradigm that best fits the situation.
In some frontend scenarios it probably does make sense to go hardcore functional though. It will likely be a slower, more complicated building process, but could result in really consistent code.
Love this. Yesterday i wrote my React component with FP implementation and my custom library with OOP implementation to manage local storage and session storage in my web.