Books are an excellent way to learn JavaScript

Image for post
Image for post
Photo by Greg Rakozy on Unsplash

Online resources are good enough to learn JavaScript. But books are way better.

They are well-structured.

They are proofread before being published.

They are more in-depth.

So, below are 9 JavaScript books that web developers need to read:

1. JavaScript: The Good Parts (by Douglas Crockford)

If you’ve been working with JavaScript for a while and want to dig deeper into this interesting language, this book is for you.

The book is only 175 pages long which covers the good and bad parts of JavaScript. It tells you to make use of the good parts and avoid using the bad features of this flexible language.

You will hardly find the second concise and packed with helpful information book like this one. It’d be great if you can have it on your bookshelf. …

This can make a big impact on your success in life and work

Image for post
Image for post
Photo by Austin Distel on Unsplash

How interesting do you want to be? As much as possible, of course.

Interesting people know the secret to making others pay attention to them when they’re talking.

Interesting people have the ability to talk about boring topics in an attractive way.

Interesting people are more likely to succeed in their career paths.

Do you want to become one of them? If so, keep reading the following tips.

Learn New Skills

What if you can do anything people ask you to do?

They need a website, you can design it.

They need an application, you can develop it.

Or they need a finance article, you can write it. …

Don’t be creative in terms of naming or you will confuse yourself later

Image for post
Image for post
Photo by Shahadat Rahman on Unsplash

When having many members works on a project, it’s a must to have a certain standard to follow for the sake of scalability.

Today, we will talk about the most basic standard, naming conventions: what we should do and shouldn’t.

Let’s get into it.

Use Specific Names

// Don’t
function fetchData() {}
// Do
function fetchUsers() {}

We know fetchData() would call an API and pull the data from server, but what data? It’s better to name it more specific, right? The more specific, the less time you will spend to think what the names are about without any comments.

Avoid One-Letter Names

Except for the common names like i for index in loop statements, you should avoid one-letter names because it will confuse you later. …

Some ways you may not know before

Image for post
Image for post
Photo by Marc Babin on Unsplash

Creating a new array that contains a subset of elements of the given array is one of the most common tasks in JavaScript.

Instead of using the loop statements, we can use filter() to complete that task in a shorter and cleaner way.

Here’s how.

1. Remove Repeated Values

This one is a little tricky. We will make use of the indexOf() function. It’s a built-in function that returns the first index at which a given element can be found in the array.

We can use it to form a condition for removing duplicated values in an array like below.

const numbers = [3, 12, 54, 12, 4, 4, 3, 12…

And keep coding no matter how old are you

Image for post
Image for post
Photo by Jefferson Santos on Unsplash

I’ve been doing a few jobs. Software development is one of them and it’s a foundation for me to build other careers. And no matter what happens, I’ll keep programming for the rest of my life.

Some people say that keep doing the same job over and over again is boring. Yet it’s not the case for programming. Even if you’ve been into this for a long time, you still find it interesting and fun.

Some developers consider if they should keep coding after 30 or 40. …

Let’s write more secured code with IIFEs

Image for post
Image for post
Photo by Markus Spiske on Unsplash

You knew the concept of IIFE, right?

Simply put from its full name, Immediately Invoked Function Expression, it’s a function that runs as soon as it’s defined.

IIEFs are well-known for protecting variables scope. But what does it actually mean? And what are practical use cases of IIEFs?

You will know the answers in this article. Let’s dive into it.


A variable defined in an IIFE can’t be accessed from the outside. Or when you use let or const to declare a variable, it can only be accessed in the enclosing block.

However, you probably need to modify the values of those variables sometimes. …

Mastering those will help you dig deeper into this framework easier

Image for post
Image for post

There are many concepts you will learn in React. Below are three important core concepts you should understand no matter what.

Let’s get right into it.

1. Component Lifecycle

Component lifecycle is the core concept of React framework.

A React app consists of many individual components. Like everything in this world, each React component has its own lifecycle. That means they are born, start living, and then die at some point.

Each part of a component’s life is defined as a method. They are called at different stages while the component is existing.

Depending on what stage you’re handling, you will do certain tasks to serve specific purposes. …

Don’t wait until you’re too old to take action

Image for post
Image for post
Photo by Artur Aldyrkhanov on Unsplash

We all want to be successful. But not everyone is willing to achieve it. Most people keep making excuses and let time pass by.

People say that it’s never too late to be successful. But sooner is better than later, right? Imagine that you are successful at the age of seventy, your health is not at its best to enjoy your success.

There are many obstacles holding us back from success. Below are three of them that you need to stop doing as soon as possible.


You know the task you’re doing is important.

You’re about failing to meet your deadline. But somehow you don’t do anything about it. …

Let’s handle arrays with less code yet still maintain readability

Image for post
Image for post

The spread operator is one of the great features in ES6. It comes with some benefits to simplify your codebase.

In this article, you will know how the simple three dots (…) can manipulate arrays better than other methods. Keep reading.

1. Clone Array

Junior developers who jump into the JavaScript world in the first place might think cloning an array is damn easy. Just assign the value of the given array to another variable like this:

let names = [‘Amy’, ‘James’, ‘Joey’];
let clonedNames = names;
console.log(clonedNames); // [“Amy”, “James”, “Joey”]

Big mistake.

Because arrays in JavaScript are reference types, the above example is about two variables pointing to the same memory address. If you change the value of one of them, the other will change as well. …

It has nothing to do with your 5–9 job.

Image for post
Image for post
Photo by Austin Distel on Unsplash

Are you a developer? You want to make money on the side? You come to the right place.

When it comes to making money, diversifying income streams is the rule of thumb. You don’t want to depend on only your so-called stable salary from the 9–5 jobs, right? Is your salary really stable? It’s definitely not. That’s why you should increase your income streams to secure your finance.

So, below are five ways I’m using right now to make money as a developer. Keep reading.

1. Develop Mobile Apps

52% of the world’s population are mobile internet users. That’s a good sign you should build mobile applications and market them to these people. …


Amy J. Andrews

Blogger | Programmer | Entrepreneur | Join me for more helpful insights:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store