M
M
Michail Wowtschuk2017-06-05 21:23:06
go
Michail Wowtschuk, 2017-06-05 21:23:06

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

7 answer(s)
A
Anton Kucherov, 2017-06-05
@DexterHD

It is better to learn OOP in Java or C# .
And if from the classics and to cling to the beautiful, on SmallTalk .

M
morricone85, 2017-06-05
@morricone85

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.

L
lagmalak, 2017-06-05
@lagmalak

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

Z
zooks, 2017-06-05
@zooks

Definitely not in Go.
See OOP in PHP or in Java. And even better in Python.

A
Andrey Burov, 2017-06-05
@BuriK666

OOP in Go is very strange.
Practice OOP in PHP or C++ and then move on to OOP in Go.

D
devalone, 2017-06-05
@devalone

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)

A
Alexander Pavlyuk, 2017-06-06
@pav5000

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 question

Ask a Question

731 491 924 answers to any question