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 9846 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…
Parents
  • 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
  • michaelwylie
    michaelwylie over 11 years ago in reply to vish

    I can't imagine an electrical engineering program that doesn't teach some form of assembly language. Although tedious, I think if you are going into embedded systems you should learn it at some point. You may never use it again, but it will give you insight into microprocessors. In fact, I think you should decode assembly language into machine language so that you gain a deep understanding of what these microprocessors are actually doing. The more abstracted you are from the program, the less you actually understand what it is doing.

    Edit:

    In many 8051 based microcontrollers, of which there are still new designs created, there is a watchdog timer. The job of the watchdog timer is to reset the system if a certain time has passed. This timer allows systems that have locked up to reset themselves. If too many variables are declared before the main function can be reached, the system you are programming will reset indefinitely. This is because the watchdog timer is on by default on boot and must be disabled if you want to turn it off. The only way to shut that watchdog timer off before reaching main is by making an assembly file (usually startup.a51) that disables the watchdog timer before the system initializes.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • johnbeetem
    johnbeetem over 11 years ago in reply to michaelwylie

    Michael Wylie wrote:

     

    I can't imagine an electrical engineering program that doesn't teach some form of assembly language. Although tedious, I think if you are going into embedded systems you should learn it at some point. You may never use it again, but it will give you insight into microprocessors. In fact, I think you should decode assembly language into machine language so that you gain a deep understanding of what these microprocessors are actually doing. The more abstracted you are from the program, the less you actually understand what it is doing.

    I get the impression that if you want to do ASM, you go to EE rather than CS.  When I was an undergrad it was considered important for a CS major to master assembly language as a fundamental part of the science.  However, years later it seemed that CS no longer had faculty who were themselves masters of ASM, and the subject atrophied in CS and it was up to EEs to fill the gap.

     

    Regarding ASM versus machine language: some ASMs have nice, clean machine-language codings and it can be beneficial to read octal/hex dumps.  Then there's ARM...

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

    May be you are correct. But from my personal experience, it's a little different. I learned assembly for 8051 and 8085. But now I'm using completely different platforms like AVRs, MSPxxx, ARM for my projects. And mostly i don't have to write anything in ASM. But when I have to write, I can grab their datasheets and application notes and mostly can figure out what to do without diving deep into their ASM codes.

    Definitely I agree with you that learning ASM can give you a better insight of how machines work. But given the context, I cannot recommend anyone to learn ASM as their first language. And also, when I was in learning 8051 asm, I was under the assumption that that is the only asm and I can use it universally much like C. But when I started seeing 8085, it's a little different. When I saw AVR a little more different. And with the ARMs that I'm working now, a lot more different. May be this kind of misunderstandings can happen to other newbies also. So I just tried to avoid that.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • vish
    vish over 11 years ago in reply to michaelwylie

    May be you are correct. But from my personal experience, it's a little different. I learned assembly for 8051 and 8085. But now I'm using completely different platforms like AVRs, MSPxxx, ARM for my projects. And mostly i don't have to write anything in ASM. But when I have to write, I can grab their datasheets and application notes and mostly can figure out what to do without diving deep into their ASM codes.

    Definitely I agree with you that learning ASM can give you a better insight of how machines work. But given the context, I cannot recommend anyone to learn ASM as their first language. And also, when I was in learning 8051 asm, I was under the assumption that that is the only asm and I can use it universally much like C. But when I started seeing 8085, it's a little different. When I saw AVR a little more different. And with the ARMs that I'm working now, a lot more different. May be this kind of misunderstandings can happen to other newbies also. So I just tried to avoid that.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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