Sunday, April 28, 2019

What is the best way to learn JavaScript?

Today we will tell you about basic knowledge of JavaScript and how to study. Although it is not limited to programming, it is important how to avoid frustration when learning something. With the wrong learning method, you will fall frustrating without going well. Let's know the correct learning method.


What is the best way to learn JavaScript?

What language is JavaScript? 

JavaScript often abbreviated as JS, is a high-level, interpreted programming language. It is a language which is also characterized as dynamic, weakly typed, prototype-based and multi-paradigm.


Source : Wikipedia

First of all, we will introduce the features of JavaScript and what can be done, representative examples of Web services actually used.

Let's grasp the whole picture of what JavaScript is like here.

1. Feature - No compiling required
“Compiling is a process of converting a program written in text into executable form”. Languages ​​such as C , Java , and C # can not be executed unless compiled. On the other hand, JavaScript can be executed without compiling. This is because JIT (Just In Time) compilation is adopted, and dynamic compilation is done inside the execution engine. Since it is not necessary to compile every time, learning becomes easy .

2. Work in browser : 
The main operating environment of JavaScript is in the web browser . It is working day by day inside the browser you use all the time. Even smartphone is the same . The browser incorporates a JavaScript engine inside, and is in charge of executing JavaScript used in the web page loaded by the browser.

3. Relationship with HTML and CSS is strong : 
Because JavaScript has grown with the Internet, it is strongly related to HTML and CSS . In many cases, since it is used at the same time , you should also study HTML and CSS along with JavaScript . Because it is not a programming language, learning is not so difficult.


How to start ? :

1. Books Recommendation for beginners of programming:
First let's learn basic syntax such as variables , arrays , and control syntax . In addition to reading the primer, be sure to enter it yourself and execute. As you can see, it is recommended that you enter it and check its operation, arrange it for yourself and re-execute. Let's think about why it will happen if the result differs from expectation. It is all the underlying, most important part.

Books Reference :
1. javascript for pro
2. javascript beginners guides

2. Implement simple processing : 
If you can understand the syntax to a certain extent, let's implement a simple process by combining the syntax. For example, a blackjack game that you can run from the console . Since motivation is important, what you think is interesting should be good.

3. Make an application : 
Create a browser application using HTML and CSS when you can program with JavaScript all the time.
Summary


JavaScript is a very major language today, not only for browsers, but also for server-side and desktop applications. Thank you for reading this article, and if you have any problem, have a another better useful solution about this article, please write message in the comment section.


No comments:

Post a Comment