Categories
Codes General Javascript

Generator Functions in JavaScript

Have you ever heard of generator functions in JavaScript? In this post, I share about generator functions and how to implement them.

Categories
Codes Javascript

Object Destructuring Tricks in JavaScript

Object destructuring is a powerful feature in JavaScript ES6. It reduces the codes you need to write in JavaScript. In this post, I share some of the tricks in object destructuring, hope it helps!

Categories
Codes General

Coding Style: Imperative vs Declarative

What is the difference between imperative and declarative coding style? Which style do you prefer on your job?

Categories
Codes Javascript

Handling Errors in Asynchronous Functions

Handling errors in your code is a must, to let users know that something is not right when they use your program. In this post, I share about handling the errors of asynchronous functions in JavaScript.

Categories
Humans Productivity

How to Improve Work Productivity

I just read Smarter, Faster, Better by Charles Duhigg, and I’d like to share some key ideas and insights from the book. Here’s what I learn…

Categories
Codes Javascript

Understanding Asynchronous Functions

Whether you realize it or not, asynchronous functions have been a part of our daily life, in the programs and apps we use. In this post, I would like to share on how to implement asynchronous functions in JavaScript.