Table of Contents
As usual, I always start by browsing Wikipedia to learn a bit more about the language.
Don’t believe me? Open your browser’s console (typically, CTRL + SHIFT + J) and type that in. You should see a little Hello World window pop up on on you screen. But wait, there’s more:
Try typing that in. Immediately, you’ll see Hello World printed below. How cool is that?
How to Run the Solution
Assuming Node is in the path, all we have to do is navigate to our new file and run the following command:
That will run the script just like Python, so “Hello, World!” should print to the console.
Sample Programs in Every Language
Up next, I want to venture to the backend of web development with a little bit of PHP. If you recall, I’ve actually played with PHP a bit for a personal project using Laravel. Of course, I’ve also dabbled with it a bit here on WordPress, but I don’t know much about the language. Next time, I’ll dig into it a bit for my own sake.
As always, feel free to share these articles with your friends and family. If the series gets enough support, I won’t stop. Just keep sharing recommendations for the next language in comments.
Magic numbers are numerical constants that have no clear meaning in the code and therefore make code harder to read. Anything that makes code harder to read is something we can use to obfuscate our...
Type hinting is a nice tool that dynamic typing languages employ to make code more readable. As you can probably imagine, readability is not the goal with obfuscating code, so we ought to get rid of...