Open in app

Sign in

Write

Sign in

Mastodon
Hoang Subin
Hoang Subin

1.1K Followers

Home

Lists

About

Published in

Level Up Coding

·Oct 31

Factory Method Pattern in JavaScript

Understanding the Factory Method Pattern and able to implement it to your codebase — This story includes 4 main parts: What is the Factory Method Pattern Key Concepts of the Factory Method Pattern Advantages of the Factory Method Pattern I know this is very complicated topic and people sometimes try to ignore it or assume that we do not need to know this because…

JavaScript

6 min read

Factory Method Pattern in JavaScript
Factory Method Pattern in JavaScript
JavaScript

6 min read


Published in

Level Up Coding

·Oct 9

Exploring the Abstract Factory Pattern

Understand more about the Abstract Factory Pattern, its key concepts, advantages, and common mistakes, with a focus on implementing it in JavaScript. — This story includes 4 main parts: What is the Abstract Factory Pattern Key Concepts of the Abstract Factory Pattern Advantages of the Abstract Factory Pattern Common Mistakes Here is my previous story about the singleton pattern. What is the Abstract Factory Pattern

Sofware Development

8 min read

Exploring the Abstract Factory Pattern
Exploring the Abstract Factory Pattern
Sofware Development

8 min read


Published in

Level Up Coding

·Oct 5

The Builder Design Pattern in JavaScript

Understand more about the Builder Pattern, its key concepts, advantages, and common mistakes, with a focus on implementing it in JavaScript. — This story includes 4 main parts: What is the Builder Pattern Key Concepts of the Builder Pattern Advantages of the Builder Pattern Common Mistakes Here is my previous story about the singleton pattern. What is the Builder Pattern The Builder Pattern is a creational design pattern that separates the construction of a complex object from…

JavaScript

5 min read

The Builder Design Pattern in JavaScript
The Builder Design Pattern in JavaScript
JavaScript

5 min read


Published in

Level Up Coding

·Oct 3

Understanding Shallow and Deep Cloning in JavaScript: A Comprehensive Guide

Explore about shallow cloning and deep cloning and what is different between this 2 techniques — In this story, I will cover topic about shallow and deep cloning in Javascript with some use cases Shallow Cloning Deep Cloning Considerations Points Shallow Cloning Shallow cloning involves creating a new object or array and copying the properties or elements of the original object or array into the new one.

JavaScript

3 min read

Understanding Shallow and Deep Cloning in JavaScript: A Comprehensive Guide
Understanding Shallow and Deep Cloning in JavaScript: A Comprehensive Guide
JavaScript

3 min read


Published in

Level Up Coding

·Oct 2

Exploring Prototype Pattern in JavaScript

Discovering how to use the Prototype Pattern in JavaScript with code examples — In this story, I will cover some points about the prototype pattern such as: What is the Prototype Pattern Key Concepts Advantages of the Prototype Pattern Common Mistakes Here is my previous story about the constructor pattern. What is the Prototype Pattern The Prototype Pattern is a creational design pattern that involves creating new objects…

JavaScript

4 min read

Exploring Prototype Pattern in JavaScript
Exploring Prototype Pattern in JavaScript
JavaScript

4 min read


Published in

Level Up Coding

·Oct 1

Understanding the Singleton Pattern in JavaScript

The Singleton pattern in the context of JavaScript, discussing its implementation, use cases, and potential pitfalls — This story includes 4 main parts: What is the Singleton Pattern Key Concepts of the Singleton Pattern Advantages of the Singleton Pattern Common Mistakes Here is my previous story about the prototype pattern. What is the Singleton Pattern The Singleton pattern restricts the instantiation of a class to a single instance and provides a global…

JavaScript

6 min read

Understanding the Singleton Pattern in JavaScript
Understanding the Singleton Pattern in JavaScript
JavaScript

6 min read


Published in

Level Up Coding

·Sep 29

Constructor Pattern in Javascript

This story is about one super popular creational pattern and how it present in Javascript language — Hello! It’s been a while since I penned down a story, mainly due to a hectic work schedule and constant relocation across countries, which has made it challenging to maintain a consistent time for blogging on Medium. …

JavaScript

4 min read

Constructor Pattern in Javascript
Constructor Pattern in Javascript
JavaScript

4 min read


Oct 13, 2022

My Journey to 144k Views Technical Story

This is a story to welcome me to back after long time resting and mention my most view story since 2019 — In this story, I will share about how I start to write on Medium and get 144k views on story about Angular only. How I know medium What we can learn about writing on Medium My most view story ever How I know medium Hi there, if you are a Medium reader and never…

Programming

4 min read

My Journey to 144k Views Technical Story
My Journey to 144k Views Technical Story
Programming

4 min read


Published in

Level Up Coding

·Mar 28, 2021

Setup a Good Angular Starter Project

Learn how to setup a project by adding Jest, State Management, Prettier, and Eslint. — In this article, I will share about an Angular starter project that I created last year, and I just migrated it to Angular 11 a few days ago. hoangtranson/angular-jest-starter This project was generated with Angular CLI version 11.0.3. git clone…github.com Table of Contents Setup Jest Setup Ngxs State Management

Angular

4 min read

Setup a Good Angular Starter Project
Setup a Good Angular Starter Project
Angular

4 min read


Published in

Level Up Coding

·Mar 11, 2021

How I Refactored a JavaScript Library to TypeScript

A Guide to setting up an npm library with TypeScript, Jest, Prettier, and Eslint — In this story, I will refactor one of my libraries (nric-validator). The scenario is that the code is written in JavaScript + Ava (unit test), and the structure is not good. So, I want to re-structure this npm library to archive these points: Able to write by TypeScript and export…

Typescript

4 min read

How I Refactor JavaScript Implemented Library to TypeScript
How I Refactor JavaScript Implemented Library to TypeScript
Typescript

4 min read

Hoang Subin

Hoang Subin

1.1K Followers

Senior JavaScript Engineering

Following
  • Gena Vazquez

    Gena Vazquez

  • Daniel G. Jennings

    Daniel G. Jennings

  • Brian Kurian

    Brian Kurian

  • Dr. Derek Austin 🥳

    Dr. Derek Austin 🥳

  • Joseph Serwach

    Joseph Serwach

See all (540)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams