Which language is better option for learning IOT for beginners?
Which language is better option for learning IOT for beginners?
Well, you'll most likely be using a microcontroller so I'd say it has to be C.
For a beginner, the learning curve includes the language, the integrated development environment (IDE), the hardware and they also need to consider the cost of all these things. As mentioned above C and…
Hi, traveling so excuse typos typing on a small screen..
There's plenty of scope to learn and use multiple languages, or whatever you're familiar with, since the scope is broad. My favourites are C, C+…
I would second that. C is a foundation language for a lot of technology. Yes, you may end up in Python or some other language, but the foundation you get from C will help you to quickly pickup other languages/skill. Once you know C, it is easier to grow into to C++, .Net, and others.
Actually the idea that learning C will assist in learning C++ is a myth that has been carried over from long ago. The two languages have enough differences that learning C may hampers one move to C++. These days, learning Python before C++ would be an easier path to C++.
However, to focus on C is to just focus on the Thing in IoT, which C certainly dominates; at least for the time being
From most of the surveys I have seen, Java tops as the most popular Language used in IoT projects. C comes in second since there are more things in the Internet of Things and is still the dominate language used. The thing I do not know is if these surveys cover folks actually working on shippable IoT products or just anyone interest in IoT that has an Arduino on their dinner table.
Jon, thanks for that clarification and for highlighting my age LOL, I did find a good attribution that discusses this @ https://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B.that being said, My experience is that most embedded solutions are developed in C (but I've also used c++ and assembly when necessary) so I'm not saying that Python or Java isn't used, I've just not seen or experienced it myself. That is interesting about C vs. C++ though.
I don't believe I mentioned anything about your age. There are folks in Universities that promote the same C / C++ myths thus new grads continue down the same path.
But again, you are focusing on the Thing with regards to the use of C in IoT. IoT is more than just the Thing. My point is that there are a number of other languages are used in the IoT stack where the use of C is not an option; or is not an easy option. And when you say Embedded, I suspect you mean Bare Metal Embedded. However, there are the so called Embedded OS devices that use operating systems such as Linux and some sort of Windows flavor where something like Java might be a solution as well.
I have always reasoned to myself, so I am now curious to know if I am wrong, that the reason Java tops as the most popular language for IoT is that it includes mobile app developers as well as those working on the backend (cloud) server side, rather than on those developers working at the device level.
I have always reasoned to myself, so I am now curious to know if I am wrong, that the reason Java tops as the most popular language for IoT is that it includes mobile app developers as well as those working on the backend (cloud) server side, rather than on those developers working at the device level.