P
P
pipeul2021-10-09 19:37:46
IT education
pipeul, 2021-10-09 19:37:46

Is it difficult to switch from c++ to c#?

I got carried away with gamedev on ue4, so I decided to start learning c++. But C++ is an outdated language, and there are few vacancies (so they say). If I think of something, will it be difficult for me to jump to Sharp, like the syntax should be similar, besides, a lot of things are automated in Sharp.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitaly, 2021-10-09
@pipeul

C C++ will be fairly easy to migrate to a similar (I'll intentionally omit criteria here) language like C# or Java. No matter how strange it sounds, it will also be easy to switch vice versa if you use a modern subset of the C ++ language and modern development practices.
It can be difficult to move from C++ to, say, something like Ruby/Pyhon, or JS, or something functional like Scala. But only on condition that you have no experience with similar languages ​​and the ecosystem around them.
In general, when you know several different programming languages, switching and / or learning new ones does not cause any special problems. At least in the early stages. If you suddenly start solving some really difficult problems, you will have to study much deeper and waste time. But this is a common thing.

But C++ is an outdated language, and there are few vacancies (so they say).

It's not quite right here. C++ is indeed an old language and drags along a bunch of "old stuff" that can't be abandoned due to the backwards compatibility policy. Because of this, there are a lot of problems with the tools, and with the ecosystem, and with the ABI, and indeed a lot of things. At the same time, nothing (except for old projects) prevents you from using a modern subset of the language and tools. It's still terrible compared to modern things and other languages ​​and their ecosystems, but at least something.
As for vacancies, as always, it depends on the place of search (probably the city where you live) and the field. In general, I would say that there are indeed more vacancies in C # than in C ++, the only question is which of them will you like. After all, you can also in some "bloody enterprise", for quite decent money, constantly port the code to a new version of the framework and do nothing else. Which sounds like it.

S
Saboteur, 2021-10-09
@saboteur_kiev

It is very difficult if you are an under-junior who has not mastered C++ yet. Just because you actually still have to learn everything almost from scratch
. And if you are a mid/senior, then you won’t ask such questions.

O
Oleg, 2021-10-09
@402d

Sharpe is similar to C only by writing the letter C.
It is compiled into the byte code of a virtual machine.
Where are your favorite pointers and maloks? %)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question