Python C or Python for Mechanical Engineering Projects

  • Thread starter Thread starter al_9591
  • Start date Start date
  • Tags Tags
    Python
Click For Summary
For a mechanical engineering major deciding between C and Python for their first programming class, Python is often recommended as the more engaging and accessible option. It is considered beneficial for future projects due to its simplicity and versatility. However, knowledge of C is also valuable, as it is commonly used in engineering applications. Ultimately, learning both languages is advantageous, as proficiency in C can facilitate easier transitions to other programming languages like Java and PHP. The consensus leans towards starting with Python for its ease of learning, but familiarity with C is also important for a well-rounded skill set in engineering.
al_9591
Messages
12
Reaction score
0
Hi,
I am majoring in mechanical engineering, and I have to take my first programming class, I have 2 options, a course that teaches C and another Python. Which one should I chose for ME? why? Which one do you think is more helpful for a ME major and is going to help me more in my future ME projects? Thanks
 
Technology news on Phys.org
al_9591 said:
Hi,
I am majoring in mechanical engineering, and I have to take my first programming class, I have 2 options, a course that teaches C and another Python. Which one should I chose for ME? why? Which one do you think is more helpful for a ME major and is going to help me more in my future ME projects? Thanks

You should learn both, IMO. You will program in both most probably in your future work. As for picking which to learn first, Python is probably more interesting to learn first.
 
Thanks, I'll learn Python first then.
 
I learned C first(C++ specifically) in High School. Junior/Senior year of HS I took AP computer science classes which focused on Java.

The good thing is, once you know C it's pretty easy to jump into Java and PHP if you ever need to.

I don't know Python, nor do I know much about it.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
55
Views
6K