X
X
xverizex2019-08-31 02:19:03
IT education
xverizex, 2019-08-31 02:19:03

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();

Yes, and there are a lot of vacancies in c ++ usually or in java, for android. I also know java but not very well. That is, in principle, I can write for android. But in android development, OOP and patterns are used. They may not be very difficult to memorize and use them conveniently and they are logically built. Damn class oops. But a lot of software is written in C. Large programs are written in C. And they are written without patterns. Well, some have patterns, like gobject. I would like you to write the pros and cons of procedural and object oriented programming. You are welcome! Thanks in advance.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
skrimafonolog, 2019-08-31
@xverizex

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.

X
xmoonlight, 2019-08-31
@xmoonlight

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!

A
Alexander Skusnov, 2019-08-31
@AlexSku

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

D
Daniel Demidko, 2019-08-31
@DanielDemidko

Better learn multi-paradigm, why limit yourself?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question