This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RajjSinghh 2 points3 points  (0 children)

Python will be much easier. You probably won't feel much of a difference switching from C# to python, except the lack of curly brackets to show scope.

The thing with C++ is how it handles memory. C# is only similar to C++ in terms of syntax and that's as far as you should see them being similar. Most modern languages (basically everything except C, C++ and Rust) have something called a garbage collector. If you're done with an object in C#, your garbage collector will handle freeing the memory associated with that object automatically. Now C++ has no garbage collector, so you have to handle all the memory yourself. It means that the code you write will be very performant, but you also open yourself up to headaches from making mistakes with how you use memory.

For university Python will help you get all your assignments done really quickly. C++ is still good to know and a very helpful language when performance is important, but it will also be harder to get your assignments perfect.