Answer the question
In order to leave comments, you need to log in
What is the best language to learn OOP in C++ or GO?
Good evening, I ask for advice:
I have been writing in PHP in a procedural style for about 3 years.
Now I started to study GO, I really like it and I’m not going to return to PHP,
but I don’t want to write in functions as before, I want to master OOP.
Is it possible to do this on GO, are there suitable books with small understandable examples of OOP?
Or take a step back and buy a C++ book and spend a month reading and practicing C++?
And then learn OOP on GO.
For a long time I wrote small examples in a procedural style in C ++. I don’t really like to write in C++)
For me, the main thing is to understand how everything works.
How to do it better?
And what books would you recommend to get started?
Thank you!
Answer the question
In order to leave comments, you need to log in
It is better to learn OOP in Java or C# .
And if from the classics and to cling to the beautiful, on SmallTalk .
If you have been writing in PHP for 3 years, then study OOP on it, why do you need C ++. Moreover, PHP has a bunch of good frameworks where you can see how this is implemented.
Go has a lightweight OOP model.
If you put the question this way, then study in C ++.
But in general, C ++ is not the language in which one should learn anything.
I would suggest learning OOP with C# or Java
Definitely not in Go.
See OOP in PHP or in Java. And even better in Python.
OOP in Go is very strange.
Practice OOP in PHP or C++ and then move on to OOP in Go.
I won’t tell you about Go, but I don’t advise you to study C ++ as an example if you don’t use it. Better look towards C # or Java, they are not so complicated and you can understand OOP well on them, and you will always find a job)
Look also towards the D language, many C++ bugs have been fixed there.
Plus, in addition to OOP, it will be possible to study functional programming there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question