Why is my mentor suggesting I learn C++ instead of Python for programming?

0
0
Asked By CuriousCoder93 On

As a beginner currently learning JavaScript, I'm interested in delving into Machine Learning. However, I struggle with understanding code logic and writing code without the assistance of AI tools. My mentor has advised me to focus on learning C++ first instead of jumping right into Python. I'm curious about the reasoning behind this suggestion. What are the advantages of starting with C++?

4 Answers

Answered By SkillHound On

Consider your own learning style as well. Some people pick up logic better with high-level languages like Python; if that's the case for you, don’t hesitate to explore that path. Ultimately, you want to enjoy learning, so choose a language that keeps you engaged!

AnchorDev -

Great point! The best learning happens when you’re enjoying the process and not feeling overwhelmed.

Answered By LearningPathways On

If you’re truly interested in Machine Learning, Python is a fantastic language because it has great libraries for ML. However, if your mentor is suggesting C++, it might be because they want you to tackle lower-level concepts first. Once you grasp basic algorithms, transitioning to Python for ML applications could be a smoother process.

ByteBuster99 -

Yeah, it's also important to have a strong understanding of algorithms before diving into ML. But starting with Python could still work if you're looking to implement ML models quickly.

Answered By TechWhiz101 On

Your mentor probably believes that starting with C++ will give you a stronger grasp of fundamental computing concepts. C++ requires you to think about memory management and pointers, which can really help with understanding how computers operate at a lower level compared to languages like Python or JavaScript. It's like learning to drive a manual car; it may be tougher at first, but it makes you a better driver overall, even if you eventually switch to an automatic.

LogicNinja88 -

Exactly! Learning C++ can force you to confront the underlying mechanics of programming, which can build a solid foundation for understanding higher-level languages later on.

Answered By CodeSeeker77 On

While Python is often recommended for beginners because of its simplicity, C++ can help you understand how things work under the hood. Python abstracts away many details like memory allocation and type definitions, which might lead to bad habits if you're not careful. C++ gives you explicit control over these things, making you more aware of potential issues before they arise in your code.

DevGuru22 -

True! It's like the difference between using a fancy but complex tool that does all the work for you without explaining what it does versus a manual tool that teaches you the basics.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.