General > General Technical Chat

Want advice on learning programing language for electronics C or JAVA or Python

(1/7) > >>

Sarvesaa:
Dear friends,

I am going to join college to become an EE engineer. I have few weeks of time, so I am interested in learning a programing language.
I know some basic concepts of JAVA  from my schooling. Apart from that I want to learn many.

I want your advices in choosing a language whether C or JAVA or Python, which will be helpful in programing microcontrollers.

Thank you

With Regards
Sarvesaa Jagan

tggzzz:

--- Quote from: Sarvesaa on August 02, 2022, 02:28:17 pm ---Dear friends,

I am going to join college to become an EE engineer. I have few weeks of time, so I am interested in learning a programing language.
I know some basic concepts of JAVA  from my schooling. Apart from that I want to learn many.

I want your advices in choosing a language whether C or JAVA or Python, which will be helpful in programing microcontrollers.

Thank you

With Regards
Sarvesaa Jagan

--- End quote ---

For embedded projects, C is the traditional choice - but under some circumstances Python is becoming an option.

You will not learn C (or another language) in a few weeks.

It is worth learning the basic principles/concepts of many languages, so you know which ones won't be appropriate for a given task, and which ones are more-or-less alike.

Miyuki:
Almost all programming languages have common ancestry and are more like a dialect than different languages

Programming concepts, algorithmization, and other stuff are what matters and it is common for most of today's languages

And plain C is a good starting point to learn and works everywhere

radar_macgyver:
Stick with C for embedded stuff. If you've used Java, C syntax will look familiar, but you will have to 'unlearn' some stuff like how C deals with strings.
One of the better Youtube channels on programming in general (with a focus on C) is from Jacob Sorber:
https://www.youtube.com/c/JacobSorber
He's got some playlists made up, including one for C beginners. I would also suggest actually typing in the code (don't download it), running it, then start modifying it to do other things. Just watching the videos will not get you far.

Ian.M:
Learn C, as ~95% of microcontroller based embedded systems are programmed in C or a C like subset of C++, but do try to pick up some Python as well as you often need something to script communication with your embedded gadget, running on a host with a full OS.

Even if all you do is get yourself an Arduino starter kit and try writing your own code for it (Arduino uses a C-like subset of GCC C++), you'll be a large step ahead of fellow students who haven't got any C programming experience.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod