Senior engineer and then what?

This March, I got promoted to a senior machine learning engineer. Stepping into this new role, I thought I was more than prepared. After all, people only get promoted to the next level after they already function like the next level. Now, I have worked as a senior engineer for half a year, and I gradually realize that while the daily technical work may appear similar for a senior engineer, being a senior engineer opens many doors and prompts me to think what I truly want for my career. 

Strategy Pattern and Factory Pattern with Dota2 Heroes

In this post, I will introduce the strategy pattern and factory patterns using Dota2 Heroes as examples. Dota2 is a multiplayer online battle arena (MOBA) video game, a sequel to Defense of the Ancients (DotA), played in matches between two teams of 5 players. Each player independently controls a powerful character, known as a “hero”, with unique abilities and roles.