What are the most commonly used programming languages in industry?

  • Thread starter Thread starter meb09JW
  • Start date Start date
  • Tags Tags
    Programming
Click For Summary
SUMMARY

The most commonly used programming languages in the aerospace engineering industry include Matlab, Python, C, and C++. While Fortran has historical significance, its relevance is diminishing. Mastery of C++ is recommended due to its structural similarities with Matlab, despite differing syntax. Effective software engineering practices are crucial to avoid common pitfalls such as poor variable naming and excessive function parameters, which can lead to inefficient and hard-to-maintain code.

PREREQUISITES
  • Understanding of programming concepts in Matlab and C/C++
  • Familiarity with software engineering principles
  • Basic knowledge of numerical methods and data structures
  • Awareness of programming best practices to enhance code maintainability
NEXT STEPS
  • Learn advanced Matlab techniques for engineering applications
  • Explore Python libraries relevant to aerospace engineering, such as NumPy and SciPy
  • Study C++ design patterns and best practices for software engineering
  • Research the evolution and current applications of Fortran in engineering
USEFUL FOR

Aerospace engineering students, software developers in engineering fields, and professionals seeking to improve their programming skills and software development practices.

meb09JW
Messages
23
Reaction score
0
hi guys,

so I'm in my third year at a UK university, studying Aerospace (Avionics mainly) Engineering.

We've covered some programming in different modules. Some Matlab, some Java, some C.

However, I'd like to start learning more thoroughly.

Which languages are used the most in industry?

I've been recommended - Matlab, Python, C, C++.

Thanks,
 
Engineering news on Phys.org
and if I had to choose C or C++ first... which one?
 
In my Mechanical Eng. degree I'm currently taking an intro to Fortran class. From what I hear, Fortran is getting outdated though.
 
Matlab is a great program to master. It is very powerful and, after you learn its intricacies, relatively straight forward. Mathematica's Maple software is nice, but not necessary, it is a great tool for solving differential equations as well as multivariable ones; far more intuitive for those types of equations than matlab, but also not as powerful for higher complexity stuff and not really useful for iterations and systems analyses.

Any C language will be extremely useful if you will be programming, and with avionics you sure as heck will be. Become familiar with them all, master C++. Fortran is a great language from what I hear (I'm no programmer) but as you say it seems many industrial leaders are heading away from it.

Matlab and C++ have very similar structures. They differ in syntax, but if you can master the structure and logic of one, the other will come relatively easily.
 
I want to have a little rant about this and hope you don't go down the dark path so many have gone before.

If you want to write software that anybody else might use, or if anybody else might want to read/modify the source code, then you should look at software engineering too. UIs are also handy. VB makes that fairly easy.

These are things that I've noticed engineers tend to overlook. There's a lot of complete mess software around that does some fantastic calculations, but nobody has the time to understand how to use it or to untangle the spaghetti code inside it. Then when it has mysterious failures due to numerical instability or some obscure bug, it has to be thrown away and done again from scratch.

If you find yourself doing these things, you might be programming like an engineer:
- Using ii and jj as variable names
- Using goto
- Making a function with more than 5 parameters
- Using abbreviated function names like STG3B
- Storing numerical data in strings
- Inventing a file format with data stored in the same sequence it gets processed
- Inventing a new file format for every program, even if they should be used together
- Making tools to convert between those file formats
- Inventing abbreviated commands for the user to memorize
- Hardcoding constants
- Optimizing

I'm guilty of some of these myself. But they're still bad because they waste people's time.
 
Well expressed Unrest. Having been programming for engineering over the past 40 years all programming languages have evolved. A good example is Basic. It started with a version called DEC Basic with only 2 characters allowed for variable names, subroutines could only be called with a GOTO statement, ETC. Today visual basic is a powerful language. Fortran is still relavent if only because many engineering programs were developed using it and in the days of the IBM 1130 with Fortran one and two and limited menory (16K), Frotran had a unique command which was "call link" allowing programs of any size, if you could limit the items that had to be passed from on segment to the next. C from Bell Labs was good with a little different syntex but very capable. To be a good programmer a knowledge of assembly for the processor you are working with is helpful but not a necessary as it was in the early days of Intel's 8080, there was no math processor so it was necessary to program in assembly to add, subtract, multiply and devide. Now no one thinks about it. To make an engineering program usable the input and output format is most important to the user, as well as a way to verify the results is most important.

It really doesn't matter what language, more inportant is how transportable and the logical structure of the programs. If the program is for one time use it makes little difference but the results must be verified. Good luck and have fun!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
Replies
16
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 397 ·
14
Replies
397
Views
20K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K