HN 精选

The Problem with Time & Timezones - Computerphile

Computerphile
12 人推荐 · 跨 12 个月 · 2014–2026
其他软件技术脚本与动态语言(Python、Ruby 等)
The Problem with Time & Timezones - Computerphile

中文导读

Tom Scott 为 Computerphile 录制的经典爆笑科普。他从一个简单的“计算事件发生于多久前”的网页功能讲起,把夏令时、时区变动、历法飞跃等深坑吐槽了个遍,最后情绪彻底失控。

为什么 HN 推它

HN 上解释“为什么千万不要手写日期时间解析”的御用视频,诙谐但全是血泪教训,几乎是每个后端程序员的入坑必看。

「刚接触时间与时区开发的同学绝对必看的避坑指南。」HN 网友原话:a must watch for developers just starting out with Timezones
英文原摘要(HackerTube / Claude 整理)

Tom Scott explains for Computerphile why handling time and timezones in code is so hard, walking through a simple web app that computes how long ago something happened. It covers the quirks of timezones and calendars and ends in an exasperated rant.

It is the go-to funny, accessible explanation of why you should never implement datetime handling yourself, linked in nearly every timezone thread.

HN 上的提及

rec sk5t · 2014-12 · HN 原文
An excellent video touching on some of the intractable aspects of our datetime-marking system's personality quirks
strong_rec tehmaco · 2015-01 · HN 原文
A brilliant video by Tom Scott for Computerphile
rec myfonj · 2015-03 · HN 原文
There is a great (humorous) Computerphile video about this topic
rec zeta0134 · 2016-07 · HN 原文
Computerphile did an excellent overview of time zones and all their complexities in the context of programming
rec wtfishackernews · 2016-11 · HN 原文
Computerphile / Tom Scott did an excellent video doing that

相关视频