Why New IoT Developers Should Learn Python


#1

Why are the Renesas IoT Sandbox Data Intelligence Workflows written in Python? Why not JavaScript?

The article below explains some of the challenges of using JavaScript, including variable scoping. While you’ll probably need JavaScript for your front-end dashboard, it may not be the best choice for back-end data analytics.

If you want to have some fun with Python and IoT data, my article on Dweepy is a good place to start if you have an S5D9 IoT Fast Prototyping Kit.


#2

I found Python is easy for C ppls to learn lol.


#3

completely agree. I hope that everyone dives into Python. There’s a few Python things that irritate people initially:

  • tabs and whitespace confusion (is it a tab or whitespace?)
  • use of pip and Python Wheel
  • creating Python packages (like net/data.py and dealing with __init__.py)
  • why can’t we eliminate self?

JavaScript has a fairly nice ecosystem with npm and associated tools. However, I still think that Python is a better choice for data parsing on the backend. Even if your front-end is using JavaScript, it doesn’t mean people have to use node on the backend. Python is fast, easy, and generally more human readable. :slight_smile: