Nicholas C. ZakasinHuman Who CodesThe lazy-loading property pattern in JavaScriptMay 17, 20212May 17, 20212
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…Apr 23, 20211Apr 23, 20211
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…Mar 9, 2021Mar 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…Feb 11, 2021Feb 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…Jan 19, 2021Jan 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…Oct 21, 2020Oct 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…Oct 13, 2020Oct 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…Oct 6, 2020Oct 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…Sep 29, 2020Sep 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…Jul 28, 2020Jul 28, 2020