Answer the question
In order to leave comments, you need to log in
Would a functional language (like Haskell) help me better understand OOP (C++)? If so, how exactly does it help?
Will the time spent getting to know FYP justify itself?
Answer the question
In order to leave comments, you need to log in
FP is a very cool paradigm. In theory, it can help to understand OOP, through a view from the outside, but not a fact.
Knowledge in principle is useful and justifies the time spent.
But I would advise you to take some simpler language than Haskell - for example F # (especially since it combines OOP with FP).
Or Rust - it also has the features of both paradigms, but it also has its own nuances.
Although if you want to completely break your brain - take Idris and dive into evidence-based programming.
No. Rather interfere.
These are fundamentally different paradigms. In the functional paradigm, the basis is pure functions, no state. OOP is based on the internal state of classes, which is constantly changing.
Dating doesn't help at all. Helps - use.
Do you have a place to apply Haskell? If not, don't waste your time.
The best way to understand OOP, especially in C++, is to work in C++ using OOP.
No, it won't help. To understand OOP will help constant work with this same OOP and reading literature. I advise you to try to build your application from scratch without using frameworks and libraries, and at the same time try to follow the best practices for the chosen PL. The application may not be added, but when you yourself start tinkering with the concepts and their application for the correct layout of the application components, you will come to a more complete understanding of each individual point of the OOP definition :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question