So, it should come as no suprise that microcontrollers are getting used more and more in the IoT craze. Bigger systems, like the ones used in your smartphone, are incredibly more powerful but they are also much more expensive. Of course, microcontrollers come in different sizes, and some of the big ones can stand up to bigger systems, but their purposes are different: microcontrollers are usually designed to provide a certain amount of programmability while remaining cost-effective and small. If you are not familiar with microcontrollers, one way to think of them is to picture a really old system, with very little RAM and a slow CPU, and of course with a very small "disk". For now, just remember: think of programming languages as tools, and "pick the right tool for the right job." Keep this in mind for the next sections where we will explore how JavaScript fits in this mindset. It was also designed to be easy to pick up by beginners and people familiar with the syntax of Java. JavaScript was designed to be dynamic, to allow users to iterate between versions rapidly, and to get out of the way for small automation tasks and scripts (those that you would normally find on a website). And this applies to programming languages. Of course, you can take a hammer and use it to hammer down a screw instead of a nail. Tools are designed for certain uses and applications. One way to see this is to think of programming languages as tools. So, in a way, I want to be very clear about something upfront: picking any programming language, for any task, is more than just a matter of choice or taste. However, that doesn't mean it should be used for everything. In contrast to many people out there, I think it is a very reasonable programming language, even in spite of its warts. And that's also what I think about JavaScript in general. I am a firm believer that even if something is possible, that doesn't mean it should necessarily be done.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |