Yankuan ZhanginDev GeniusEssential VS Code Shortcuts for Everyday UseHere are the shortcuts I find myself use all the time.Apr 12, 2023Apr 12, 2023
Yankuan ZhanginDev Genius5 Essential Text Editing VS Code Extensions for Everyday UseApr 12, 2023Apr 12, 2023
Yankuan ZhanginDev GeniusConditional Return Type for Function Overloading in TypeScriptHow to use function overloading to define functions with conditional return type in TypeScriptMar 28, 20231Mar 28, 20231
Yankuan ZhangTime Complexity of Creating a Heap (or Priority Queue)There are two ways to create a heap of n elements:May 16, 2022May 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.Jan 31, 2022Jan 31, 2022
Yankuan ZhangSyntax Comparison: TypeScript vs SwiftComparing basic syntax between JavaScript/TypeScript and SwiftJan 24, 20222Jan 24, 20222
Yankuan ZhangThe 4 Most Common Geometries in KMLPoint, LineString, LinearRing, and PolygonJan 24, 2022Jan 24, 2022
Yankuan ZhangThe return type of a function that returns a Promise or a non-Promise valueFoo | Promise<Foo> V.S. Promise<Foo>Mar 8, 2020Mar 8, 2020
Yankuan ZhangHow to properly break/wrap a long string in a grid?“word-break: break-word;”Aug 28, 2019Aug 28, 2019