Jerome Covington
  • Home
  • Music
  • Code
  • Inspiration
  • Workflow
  • Specifications
Sign in Subscribe
javascript

Basic coercion of primitives

  • Jerome Covington

Jerome Covington

11 Aug 2017

Nothing special here, but still worth reviewing, and with a few explanations:

Number (e.g. double): +arg
Int32: ~~arg or arg|0
Uint32: arg >>> 0
String: ''+arg
Boolean: !!arg


Sources:
Trevor Norris, Introduction to the three key areas of performance

Sign up for more like this.

Enter your email
Subscribe

Vibe Coding and the Stewardship of Software

Over the past two years, something drastic has happened to my engineering practice: the ability to create working software has become dramatically easier, up to a point. Leveraging modern AI tools, I can describe the features of a change to an existing app (or even specify an entirely new app
13 Mar 2026 3 min read

Proactive: Building a CoderPad-Style Environment for Practicing TypeScript and React Interviews

Preparing for software engineering interviews often feels oddly disconnected from the work many of us actually do. Most interview preparation platforms emphasize classic data structures and algorithms problems. While those skills are important, they rarely reflect the kinds of problems many frontend or full-stack engineers spend their time solving: designing
11 Mar 2026 3 min read

Engineering x Product Collaboration

In my practice as an Engineer over the years, I have had ample opportunity to collaborate with many talented Product leaders at many companies. This week, I sat down to note patterns that have emerged during such collaboration. I'm sharing them here in hopes that I can help
03 Mar 2026 2 min read
Jerome Covington © 2026
Powered by Ghost