詳細検索

coding


Bloom Filter 101
Tips
May 29, 2024
4分で読めます

Bloom Filter 101

What data structure would you use to determine whether an entity is in a given dataset with speed? Many would answer "Hashtable" without hesitation. Hashtable performs well when accessing an entity...

A Brief Introduction to Pagination
Tips
December 13, 2023

A Brief Introduction to Pagination

For many software engineers, endpoints for retrieving a list of entities are probably their favorite to implement--all they need to do is build an SQL statement that grabs all the available items,...

A More Elegant Alternative to Golang's Error-Handling
Tips
November 29, 2023
6分で読めます

A More Elegant Alternative to Golang's Error-Handling

Recently, I joined a new project at Colorkrew that uses Golang as its backend language. Almost everyone on the team, including myself, had no experience with Golang, so we had to start from zero....

Separation of Concerns: Split Your React Components into Containers and Views
Tips
October 18, 2023
5分で読めます

Separation of Concerns: Split Your React Components into Containers and Views

Many frontend engineers probably have experienced the head-scratching moment when their React components become so gigantic that they keep losing their train of thought when navigating through their...

RESTful API 101
Tips
September 13, 2023

RESTful API 101

It is almost impossible for a backend engineer to be oblivious to RESTful API in the 21st century, as it is one of the most popular API types. We can mostly attribute its popularity to its...

Introduction to Functional Programming
Tips
August 24, 2023
4分で読めます

Introduction to Functional Programming

The first programming paradigm that most programmers in the 21st century learn is probably Object Oriented Programming (or OOP for short). Object Oriented Programming allows us to transform...

OAuth Demystified: A Straightforward OAuth Tutorial
Tips
July 26, 2023

OAuth Demystified: A Straightforward OAuth Tutorial

Incorporating OAuth (short for Open Authorization) into an application might seem somewhat intimidating and disheartening for many entry-level software engineers. After all, they need to spend...

Async/Await: a Game Changer for Haters of Promise Chaining
Tips
June 14, 2023

Async/Await: a Game Changer for Haters of Promise Chaining

If you became a frontend engineer after 2015, chances are that you have used or at least heard about `Promise`. As I have covered in my previous blog, `Promise` can help us specify sequential...

The Whys and Hows of Promise in JavaScript
Tips
May 30, 2023

The Whys and Hows of Promise in JavaScript

If you have done any web development after 2015, chances are that you have heard of the concept of Promise. It wouldn't be an overstatement to claim that Promise is ubiquitous in modern-day front-end...

All You Need to Know about Isolation Levels and Read Inconsistencies
Tips
April 20, 2023
6分で読めます

All You Need to Know about Isolation Levels and Read Inconsistencies

Just like real life, the world of computer science is replete with trade-offs. Relational databases are no exception. When interacting with relational databases, we face the dilemma between data...

CAP Theorem But Better? Introduce the PACELC Theorem
Tips
April 12, 2023
4分で読めます

CAP Theorem But Better? Introduce the PACELC Theorem

In the previous blog, I introduced the famous CAP Theorem (please give it a read if you haven't already before you start reading this one). It involves a trilemma of needing to give up one of the...

What You Need to Know about the CAP Theorem
Tips
April 7, 2023
5分で読めます

What You Need to Know about the CAP Theorem

The world that we live in is far from perfect. We constantly find ourselves in dilemmas, sometimes even trilemmas, that require us to make trade-offs. When shopping, we can only choose two out of...