Blog
by... Yµn ^…^ ƒ(x)
Differences Between Java and JavaScript Variables
In this post, I will be giving a brief introduction to the fundamental differences between the variables in two of the most popular programming languages: Java and JavaScript. In Java, almost every variable has a data type. For example, if a variable is a 'String', then it will be declared as "String myStringName = 'Hello';". If it is an integer, it will be declared as "int".
Read MoreHow Did They Come Up With Node.js & How Does it Work?
Are you one of those developers who cannot think of a world without JavaScript? Or do you not code if you don't have JavaScript running as a server-side language? Then this post might be interesting for you. We are going to explore the core ideas behind Node.Js and its surrounding components. I'm no expert when it comes to running JavaScript on the back-end.
Read MoreHow Do I Compose?
This is going to be a short article about how I compose my songs. I'm not going to get into much of the recording and mixing methods but rather talk about how I put the melodies together and decide on the tempo, scale and overall structure of the songs. Of course, the technologies and recording process heavily influence the composition, but I will try to stick mostly to composing rather than recording. How Do I Start? Well, it starts with "I wanna record another song" and this thought leads me to grab my guitar or turn on my laptop to start the fundamental structure of a new song idea. I don't really remember the melodies that come to me unfortunately, and when I start to build a song, it starts with thinking about the scale first. I first decide on the scale. The first scale that comes to my mind is E minor and then sometimes C minor.
Read MoreHow Does PHP Run?
Have you ever wondered how your PHP source code gets to run? At some point, you installed PHP and started writing your scripts. You connected to your XAMPP MySQL with a few lines of code and it's magic! Well, maybe it is not magic after all. PHP is an interpreted (interpreter produces a result from your code but compiler turns your program into assembly) scripting language for server-side programming. It first appeared in 1995, 27 years ago. So how does it run? It needs an interpreter to run, and that is the "Zend Engine".
Read MoreHow to Write a Java Program that Takes Average
In this post, I will be explaining how to write a Java program that takes the average of user inputs in the format of 4 different variables. These variables are numbers, and the average will be a double type. The program will print the results on the command line. We can start off by creating a class in your favorite IDE. It doesn't matter if it's Eclipse, IntelliJ, VSCode, or any other IDE. You can first create a package and then a class inside the package, but it is up to you which one you will go with. I will leave the GitHub link at the bottom for those who want to see it there. First, I created a package named "Average" and then imported the Java scanner API to create a scanner object later on in my code
Read More