I’ve studied C++ at university and want to keep building my programming skills, especially for cloud and DevOps work or astroinformatics. Python seems common in those areas, but its indentation-based syntax puts me off. Should I stick with C++, switch to Python, or learn both?
Should I keep focusing on C++ or start learning Python too?
Answers
You don’t need to make this an either-or choice. Keep the C++ you’ve learned, and add Python when you have a project or course that gives you a reason to use it. Once you understand programming fundamentals, picking up another language is much less of a restart.
Reply to this answer
For cloud and DevOps tasks, Python is a practical tool to have, even if C++ stays your stronger language. Try a small automation script and let your editor handle indentation. The whitespace rule can feel odd at first, but it needn’t be a reason to avoid learning the language.
Reply to this answer
For scientific computing, Python is often used to connect tools and work with data, while performance-critical parts may use lower-level languages. Your C++ background can still be useful. Learning Python would widen what you can do without making your existing skills irrelevant.
Reply to this answer
If you’re not enjoying Python, don’t force yourself to declare it your main language right away. Pick a small, relevant task and see how it feels in practice. C# could also be worth exploring, especially if your cloud interests point toward tools with strong support for it.
Reply to this answer
Keep following your university course and build on the concepts it teaches, rather than trying to predict one perfect language for your future job. Courses and workplaces vary, and you may end up using several languages. Comfort with data structures, debugging, and problem-solving travels with you.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions