element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Code Exchange
  • Technologies
  • More
Code Exchange
Polls What programming language should EE's learn first?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Code Exchange to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: bluescreen
  • Date Created: 13 Feb 2014 4:26 AM Date Created
  • Last Updated Last Updated: 11 Oct 2021 3:01 PM
  • Views 9841 views
  • Likes 0 likes
  • Comments 88 comments
Related
Recommended

What programming language should EE's learn first?

  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • johnbeetem
    johnbeetem over 12 years ago +2
    Oh goodie, language wars! Personally, I think C and C++ are terrible first programming languages. C is a great language for writing compact code that maps directly into machine language, but for teaching…
  • Former Member
    Former Member over 12 years ago +2
    Ruby! It's python's beautiful little sister.
  • Former Member
    Former Member over 12 years ago +2
    Very important distinction here is that the question specified "EE", not "CS"! EEs should learn C first, but not bother with C++ so much. C compilers are available for every processor made and by learning…
  • vish
    vish over 11 years ago

    I'll say it depends on mostly which direction you want to go :

    If you are curious about embedded systems and microcontrollers and 'low level' device access, then you should learn C/C++.

    If you are curious about making things with rPi like platforms, go for Python.

    If you want to do simulations of large systems/mathematical models/machine learning/Computer Vision, Octave/MatLab can be your first choice.

    And don't try to learn assembly. In my opinion, it's a waste of time. It will be only useful if your are writing some device drivers/OS modules. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago

    I started off with arduino, but I personally think that if you are REALLY getting started, go with the scratch programming language.

     

    It's easy to understand, comprehensive, and fu-

     

    Just kidding. Go with python.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • b4ux1t3
    b4ux1t3 over 11 years ago

    As a "first language", Python will be easy to learn and will teach the fundamentals (control flow, conditionals, arrays, libraries, simple things that span literally all of programming).

     

    After that, learning most languages is as simple as learning the syntax and quirks of the given language. That said, anything you need written can be written in C/C++. It is low-level enough that it easily compiles to virtually any assembly language, but is high-level enough to not take thirty minutes to write a single, simple function. As far as other types of languages (MATLAB, R, Pascal), those are rarely required, and should be learned if needed. The vast majority of EEs are not going to ever need MATLAB. C/C++ and Python cover pretty much everything you need. Python is even slowly replacing R as the go-to language for data analysis: Python Displacing R As The Programming Language For Data Science – ReadWrite.

     

    Embedded engineers are not the only ones who use C/C++. Everyone from optical engineers to medical engineers can use them, and the knowledge of the language from one discipline transfers nigh directly from field to field.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to Former Member

    Sorry for the slow response.

     

    What you say is probably true within procedural languages. There is a more fundamental difference in mind set between functional/logic languages (SML, Prolog, F#, OCAML, LISP and so on) and procedural languages (FORTRAN, C, C++, Java, BASIC etc). The first language I learned was FORTRAN (on a main frame with punched cards!), I didn't come to functional languages (SML and PROLOG) until much more recently and it was not easy making the transition.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to johnbeetem

    What you said earlier about fundamental principles is the important thing, that and how to apply them and create basic algorithms and their concepts are things that people new to programming need. Really the particular first language learned isn't the important thing, as long as it is a language that you can learn that underlying knowledge from. Once you have that knowledge you can pretty much pick up any language relatively easily, quite often just being a case of applying a different syntax to the problem you are trying to solve.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago

    It is a bit difficult to select a particular language as it depends on the application.

     

    My day job is research in computer science and I normally program in either ML (a functional programming language) or in C. ML is a much more robust and secure language but you're further removed from low-level operations such as bit shifting, and it is for this reason that I think C is the best language for electronic engineers. Assembler has the drawback that it is too hardware specific. Higher level languages don't give you such direct access to registers and memory.

     

    Though C is low level, you can code in a modular/object orientated way. For example by keeping modules in separate files (which then become equivalent to C++ classes) you can hide local functions and data by declaring it static and only have interface functions visible externally. Of course you don't get inheritance and polymorphism except by having some naming code for functions with different types of arguments but the point I'm trying to make is robustness/maintainability of code is really down to how ordered the writing of it is not on the language used.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to michaelkellett

    I remember someone back in the late 70s early 80s who told me that they programmed a system for scheduling (road) petrol tanker deliveries in it. I was very impressed and bought a book about it only to decide that life was far too short for anything that daft!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelkellett
    michaelkellett over 11 years ago in reply to Former Member

    Why not  a serious suggestion - if you learn from mistakes how much more you must learn from a really BIG mistake image

     

    (I had to check MUMPS on Wiki - it really does exist - did they use it for Mk1 of the Obamacare web site ?)

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago

    This isn't a serious suggestion, but for some light relief, check out this language : A Case of the MUMPS - The Daily WTF

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelwylie
    michaelwylie over 12 years ago in reply to vsluiter

    Most, not all, of these answers, in my opinion, assume EE's are all embedded systems programmers. In fact, only a small portion of them are. There are RF Engineers, Power Engineers, Controls Engineers, etc... The purpose of the first programming language is not necessarily to make everyone an embedded systems programmer. It's to give us an introduction to programming and some skill we can use later on, of which the ability to analyze data is a huge one.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube