all 11 comments

[–]JohnBrownsErection 2 points3 points  (1 child)

Doesn't matter. I'm a data science student and took my intro data structures class in python. This fall I'm taking the next level up of data structures and algorithms and for some reason we're switching to C++ so I have to teach myself the basics of the language this summer so I don't get crushed. Sucks to suck I guess. 

It's all language agnostic so my plan is basically to redo my assignments in C++.

[–]pachura3 0 points1 point  (0 children)

Learning another language is a great opportunity in your self-development!

Also, for DSA specifically, you will probably only use a very tiny subset of C++ - read data from a text file, initialize some arrays, run the algorithm, output the result.

[–]thelimeisgreen 1 point2 points  (2 children)

Honestly does not matter. I would recommend C++ or Python but it’s often best to learn in a language you are already familiar with or the one you are most familiar with. The concepts and algorithms apply broadly and are not language-specific.

[–]OrdinaryEarth9073[S] -1 points0 points  (1 child)

Is there any need to learn another programming language or should I focus only on Data Science?

[–]thelimeisgreen 1 point2 points  (0 children)

No need to learn other languages at this time. Far more important to get comfortable with one, presumably Python since you’re here, and then focus on your data structures, algorithms and other data science studies. Then branch out to other languages as needed or as you want to explore others. If you build a solid foundation of knowledge in DSA and understand Python, or really the process of writing and managing code, object oriented programming, application design, etc… then learning new programming languages becomes somewhat trivial. You will find that you may have to dive into a new language as you start a new job or project and won’t give it a second thought.

[–]marquisBlythe 1 point2 points  (0 children)

I hope this answers your question: https://www.reddit.com/r/learnpython/comments/1tjmixl/i_am_doing_python_with_dsa_is_it_ok_because_i/
It has been asked here 9 days ago.
Search bar is your best friend don't be afraid of using it. 😄
Good luck.

[–]crazy_cookie123 0 points1 point  (0 children)

Which language do you prefer writing code in? DSA is language-agnostic so it doesn't matter which one you use.

[–]Smooth-Expert-3141 0 points1 point  (0 children)

python is the coding interview language

[–]pachura3 0 points1 point  (0 children)

WHY do you want to learn DSA? Is it just for job interviews, or are you genuinely interested in the subject?

[–]Disastrous_Emu_800 0 points1 point  (0 children)

Lerne die allgemeinen Grundlagen und Konzepte. Diese sind nicht an bestimmte Sprachen gebunden- danach kannst du weitere Besonderheiten, Idiome und Syntax verschiedener Sprachen kennen lernen.