Yankuan ZhanginDev GeniusEssential VS Code Shortcuts for Everyday UseHere are the shortcuts I find myself use all the time.2 min read·Apr 12, 2023----
Yankuan ZhanginDev Genius5 Essential Text Editing VS Code Extensions for Everyday Use2 min read·Apr 12, 2023----
Yankuan ZhanginDev GeniusConditional Return Type for Function Overloading in TypeScriptHow to use function overloading to define functions with conditional return type in TypeScript3 min read·Mar 28, 2023--1--1
Yankuan ZhangTime Complexity of Creating a Heap (or Priority Queue)There are two ways to create a heap of n elements:2 min read·May 16, 2022----
Yankuan ZhangWork with Python DictionaryThe dictionary is a data type that people use day to day in Python. This post covers what one needs to know when working with it.5 min read·Jan 31, 2022----
Yankuan ZhangSyntax Comparison: TypeScript vs SwiftComparing basic syntax between JavaScript/TypeScript and Swift7 min read·Jan 24, 2022--2--2
Yankuan ZhangThe 4 Most Common Geometries in KMLPoint, LineString, LinearRing, and Polygon6 min read·Jan 24, 2022----
Yankuan ZhangThe return type of a function that returns a Promise or a non-Promise valueFoo | Promise<Foo> V.S. Promise<Foo>2 min read·Mar 8, 2020----
Yankuan ZhangHow to properly break/wrap a long string in a grid?“word-break: break-word;”1 min read·Aug 28, 2019----