With great power comes great responsibility — Uncle Ben once said

Toys bowing to each other

I remember that day when I gave my two weeks’ notice to my manager at Macy’s Tech in San Francisco. A few minutes later, the director in our department called me to schedule a one-on-one.

“Why do you want to leave?” he asked. “Is it because of the money?”

It…


Do you know how to avoid cache stampedes?

Computer chips

Leetcode has always been the holy grail to cracking the coding interview. Many engineers have said that the technical interview pipeline is broken. Three years ago, a technology company would not have told you to solve two Leetcode hard questions in a single setting. …


2. Obsession with best practices will slow you down

Female holding a light

Every side project comes with an idea. For instance, I came up with creating a Medium publication index to search for publications. Therefore, I want to do this side project.

An interesting fact about ideas and thoughts is that they come and go. According to studies, we have 6,200 thoughts…


Engineers who love to ask ‘why.’

Most engineers are taught how to build things. We learn all the engineer skillsets, understand various tradeoffs in system design, and implement the most efficient algorithm. At a lot of the companies, engineers come during product implementation. Engineers will discuss how to minimize these engineers’ efforts in building this product…


Decrease the Side Effects in your System

With each network API call looking more like functions, we often didn’t notice how hard it was to create an atomic operation in a distributed environment. For instance, writing to an SQS queue in AWS can be as simple as importing the SQS Client and calling sendMessage. These network calls…


Why Google is not a tech company anymore.

Every computer science student’s dream job in the last decade is to work at Google, myself included.

One of the best things that attract me to join Google is its vast amount of food selection. I remember one time I visited the Google Campus and was astounded by not only…


A brief introduction about Dynosaur

If you are working with DynamoDB with Scala, chances are you will spend at least one-day implementing transformation on DynamoDB attribute value to a Scala model. Creating a function that transforms Java HashMap to Scala is not the problem — the problem is transforming the domain model to attribute value.


You have to ensure that the codebase grow in the right direction

Here’s what product or business units didn’t get when we explained to them about technical debt: if the piece of software works already, why do we need to even “touch” them?

The best way to explain this is to talk in realistic terms — “if we don’t do this now…


Flexibility is king

The primary goal of a microservice architecture is to deploy independent services so that product can create multiple fast iterations at different times. Thus, each team can deploy services separately without needing to coordinate with other teams.

With microservice architecture, service and service communicate through network calls, and both services…


Legacy code is robust code

Batman from the older movies

Today is your first day of work at a tech company. You are very excited and looking forward to the onboarding process. Once you finish the onboarding process, you are very excited to see your first tasks. Your manager has a list of tickets for you. However, as you examine…

Edward Huang

Software Engineer. Sharing my notes, thoughts, and document my journey in technology, functional programming, and careers in tech | https://www.Edward-Huang.com

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