Things you should know as a JavaScript Developer

Showkat Jubayer
3 min readMay 7, 2021

So, It’s very easy to get started with JavaScript but it’s quite hard to be a master of it. JavaScript keeps a website alive. Basically, it’s used for frontend development but nowadays it is used in the backend too. Its become a more powerful programming language over the era.

Primitive Values

Primitive values are interesting things in JavaScript, You cannot change them. there are 7 primitive data types: string, number, bigint, boolean, undefined, symbol, and null. All primitive values are almost the same. These primitive values cannot be altered. Maybe you can reassign a new value, but the existing value can not be changed.

Object and Functions

In javascript, almost everything is object. Object and Functions are also values but they are not primitive. Object and function values are changeable. You can change the value. You can manipulate them in your way. So you can work with it, change it and use it. Maybe you notice something, when you log an object or function in the browser console, the browser console displays them differently from the primitive values.

Expression

Expression is like something you can get from javascript. anything provides from a single value can be an expression. if you log 2 + 2 you get an answer with 4. that answer is an expression in javascript. Expression results from a single value.

Checking a Type

There are many types of data in javascript such as string, number, object, etc. You can check what kinds of data it is with typeof operator. Then you get the result of that’s type of value as a string, number, or object. This operator is most useful when you working with JavaScript Projects.

Types of Values

Javascript has & types of values, such as undefined, Null, Booleans, Numbers, Strings, Symbols, BitgInts. There are no other fundamental values that exist in javascript. The rest are all objects. For example, even arrays, dates, and regular expressions fundamentally are objects in JavaScript.

Error Handling

To be a good programmer it’s not about how can do your programming rather its depend on how you can handle the error at your work. The more you can handle errors as you experience the more you will be good at programming. There is a syntax construct try…catch that allows us to catch errors sot the script can, instead of dying, do something more reasonable.

Coding Style

Okay, So there are other important things about coding. Your code must be as clean and easy to read as possible. It’s like doing clean code is easier to understand code. If your code is not good-looking then maybe you will be bored of your own code. Coding clean and human-readable is actually the art of Programming. So you must code better to understand better.

Comments

Comments are another important thing in javascript. It’s easy to understand when you comment in your code. There are other types of comment is a bad comment. So you have to keep aware of the over messy comment. So, never forget to comments on your code.

Balance Client and Server Caching

Catching is a general computer concept that provides efficiency through data availability. Good projects should be balance client and server caching in web application development. Catching is a more important thing for a good web application. If you want to fast, good, well-organized web application then must do balancing client and server caching.

Testing

Testing your code is another important thing in programming. Maybe you don’t realize there are bugs in your code. So you can use some testing tools or you can give your project to somebody for testing your code.

--

--