Nicholas C. ZakasinHuman Who CodesThe lazy-loading property pattern in JavaScript5 min read·May 17, 2021--2--2
Nicholas C. ZakasinHuman Who CodesTwo approaches to win an argument as a software engineerIf you’ve spent any time developing software professionally and then you are probably used to the spirited debates that take place between…6 min read·Apr 23, 2021--1--1
Nicholas C. ZakasinHuman Who CodesIntroducing Env: a better way to read environment variables in JavaScriptIf you write server-side JavaScript, chances are you’ve need to read information from environment variables. It’s considered a best…4 min read·Mar 9, 2021----
Nicholas C. ZakasinHuman Who CodesCreating a JavaScript promise from scratch, Part 7: Unhandled rejection trackingWhen promises were introduced in ECMAScript 2015, they had an interesting flaw: if a promise didn’t have a rejection handler and was later…15 min read·Feb 11, 2021----
Nicholas C. ZakasinHuman Who CodesCreating a JavaScript promise from scratch, Part 6: Promise.all() and Promise.allSettled()In my last post, I walked you through the creation of the Promice.race() and Promise.any() methods, both of which work on multiple…9 min read·Jan 19, 2021----
Nicholas C. ZakasinHuman Who CodesCreating a JavaScript promise from scratch, Part 4: Promise.resolve() and Promise.reject()When you create a promise with the Promise constructor, you’re creating an unsettled promise, meaning the promise state is pending until…6 min read·Oct 21, 2020----
Nicholas C. ZakasinHuman Who CodesCreating a JavaScript promise from scratch, Part 3: then(), catch(), and finally()In my first post of this series, I explained how the Promise constructor works by recreating it as the Pledge constructor. In the second…16 min read·Oct 13, 2020----
Nicholas C. ZakasinHuman Who CodesCreating a JavaScript promise from scratch, Part 2: Resolving to a promiseIn my first post of this series, I explained how the Promise constructor works by recreating it as the Pledge constructor. I noted in that…5 min read·Oct 6, 2020----
Nicholas C. ZakasinHuman Who CodesCreating a JavaScript promise from scratch, Part 1: ConstructorEarly on in my career, I learned a lot by trying to recreate functionality I saw on websites. I found it helpful to investigate why…11 min read·Sep 29, 2020----
Nicholas C. ZakasinHuman Who CodesHow to safely use GitHub Actions in organizationsGitHub Actions [1] are programs designed to run inside of workflows [2], triggered by specific events inside a GitHub repository. To date…12 min read·Jul 28, 2020----