Cause Bugs with Functions that Accept Multiple, Identically-Typed Arguments

Or don’t. Either way, here’s how.

Dave Taubler
Level Up Coding
Published in
7 min readFeb 16, 2023

--

Photo by James Wainscoat on Unsplash

Once upon a time, my team inherited a Typescript service. Soon afterward, the team’s on-call engineer (me, as it turns out) was paged by an alert. This alert was triggered by a line in the service’s error logs. Unfortunately, the log’s message was generic, and provided no specific…

--

--