Ronald ChenThe day iOS replaces macOS is closer than you thinkIf you’ve been following the development of iOS, you’ll notice Apple keeps adding more features to make iOS more like a full operating…4 min read·Mar 8, 2018--2--2
Ronald ChenThe hard error handling case made easy with async/awaitLet me show a surprisingly trivial looking async/await code which is actually hard to implement correctly with Promises.2 min read·Feb 22, 2018--4--4
Ronald ChenKeep component hierarchies flatA deep component hierarchy is difficult to understand and makes people reach for tools like Redux too soon. A flat component structure…2 min read·Jan 29, 2018----
Ronald ChenSimple Case Pattern Matching In Pure ES2015While JavaScript does not have full pattern matching faculties, we can leverage ES2105 to implement the most basic and useful form.2 min read·Jul 29, 2017----
Ronald ChenDestructuring Nested ObjectsI love destructuring. However, as I use it more, I am running into some odd gotchas.2 min read·May 5, 2017--14--14
Ronald ChenSimple proposal to add pattern matching to JavascriptThere are other pattern matching proposals out there, but IMO they are all terrible. They all have the same flaw of trying to add too much…2 min read·Apr 21, 2017----
Ronald ChenFactory Function Pattern In-DepthThere are plenty great introductions to Factory Functions, but few describe the details of the pattern. If you don’t know what a Factory…7 min read·Jan 14, 2016--19--19
Ronald ChenHow to escape Promise HellUnlike Callback Hell, Promise Hell is accidentally self inflicted. Promise Hell is just a lack a familiarity with Promises.5 min read·Jan 2, 2016--25--25
Ronald ChenExperiments segregating RFID cardsFaregates are coming to the Vancouver transit system. It comes in the form of a RFID card where one need to tap in/out.2 min read·Nov 3, 2015----