Answer the question
In order to leave comments, you need to log in
What is better to study? Procedural or object-oriented programming?
I know si. And I love writing on it. I don't see the point in object-oriented programming at all. But maybe you can convince me. In general, what to write a program, procedural code is enough. But I admire the fact that someone knows all the patterns and not only and can competently compose super-perfect code. I feel about c++ in such a way that you can write super-intelligent code on it. I know a little c++, well the basics and some patterns. But the pattern book was not very good. For example, it has a builder pattern, and it is poorly described in the book. Much better done in java, like this.
Figure span = Builder.get_app("frozen").add_picture("...").commit();
Answer the question
In order to leave comments, you need to log in
First procedural, then object-oriented.
You should not consider these things to be some kind of super-complex.
It's easy to learn them all.
OOP: storage of the state of objects, control and management of the structure of the application code.
Functions/Procedures: Only useful when you only need the result of a calculation.
And then, and then - you need to apply correctly: together or one thing, depending on the task being solved!
There is a sense in OOP, because it is necessary to go further:
1) functional style. I advise you to look at the courses on Stepika on Haskell
2) graphic style for automation:
controllers - CFC, SFC;
control logic (similar to SFC) - StateFlow
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question