What programming language should a mechanical engineering student start with?
Asked by
why so many brackets
Hey everyone! I'm a second-year mechanical engineering student looking to get into programming for applications in robotics and chip coding. I'm not really sure if I should start with Python or C. I've been browsing through various online courses like freeCodeCamp, CS50, and some Finnish ones, but I'm feeling pretty overwhelmed with the options. Has anyone else been in my shoes? What's the best way to kick things off?
Answers
C gives you great control over system resources, especially for embedded systems. For general tasks, while C works fine if you're comfortable, maybe consider Python as well. It's a lot friendlier and has a wealth of libraries that can speed up your coding for tasks.
Reply to this answer
Donโt forget about MATLAB! It's super useful in engineering and actually pretty common in our field. While you're looking at Python and C, just remember that C is typically the go-to for embedded systems.
Reply to this answer
If you're focusing on embedded systems and hardware interactions, C is definitely the way to go. I recommend starting with CS50; it's really well-structured and covers both C and Python. Itโs a solid intro to programming that prepares you well.
Reply to this answer
Add your answer
Answers are reviewed before publication.
_plant_cuttings: CS50 is indeed fantastic! It really helps you grasp programming concepts.