Do electrical engineers need to know programming?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 19K views
SuperMiguel
Messages
109
Reaction score
0
do electrical engineers need to know programming? specifically C language
 
Physics news on Phys.org
SuperMiguel said:
do electrical engineers need to know programming? specifically C language

I'd say that all EEs shouldl be comfortable programming in some language. Which language would generally depend on what kind of work you do, and what tools you use.

Many EEs program in MATLAB, because it has good links to outside hardware and is good for calculations and simulations. Others use a language more like Python or Tcl/Tk, because they need good scripting abilities (like for IC design tasks). Others program in C or variations of C, as in working with Embedded Systems.
 
should i start with MATLAB or with something like C
 
It doesn't really matter. MatLAB costs money however, but any free ide/compiler will work for C
 
C is a must for every engineer. Frankly, I consider c++ to be a must these days as well.
For example, device drivers and microcontroller programming are typically written/done in C.


Higher level scripting languages like MATLAB, Python and others are becoming increasingly more popular.

All speed critical applications are based on C/C++.
 
physiker_192 said:
C is a must for every engineer. Frankly, I consider c++ to be a must these days as well.
For example, device drivers and microcontroller programming are typically written/done in C.


Higher level scripting languages like MATLAB, Python and others are becoming increasingly more popular.

All speed critical applications are based on C/C++.

is it easier to learn python and then C, or C and then python...

I keep trying to learn C, but i find it very very boring =(
 
Program a real chip with arms and legs (or LEDs) and it won't be so boring.

Try the free C compiler from Microchip. Make an LED blink on and off every second. You'll learn some C in an applied way.