MHN
Add a comment on Hacker News →
2 of 129 comments
  1. If you want to learn a bit more, there was a recent, really good Planet Money episode[1] about this exact same topic. They focus on the problems that you might face when using zip code for demographic analysis.

    [1]: https://www.npr.org/2025/01/08/1223466587/zip-code-history

  2. There are many problems with zip codes / postal codes but the biggest two we see are:

    a. Excel treats them as numbers instead of strings of digits and thus drops the leading 0

    b. Developers make assumptions about postal codes based on how they work (or more usually how the developer incorrectly thinks they work) in their own country and these assumptions absolutely do NOT hold in other countries.

    A relevant guide to geocoding and postal codes: https://opencagedata.com/guides/how-to-think-about-postcodes...