TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why The Hell Do I Need Types? Because Fahrenheit can't be less than −459.67

1 pointsby dadeabout 11 years ago

1 comment

dragonwriterabout 11 years ago
While the <i>general</i> concept is valid, the <i>specific</i> example in the headline relies on the idea that negative absolute temperature cannot exist, which is false. [1]<p>Perhaps more significantly, the article could use some examples of how different approaches to typing solve this problem, and discussing pros and cons; &quot;not all numbers are valid for all numeric-valued variables&quot; is a fairly shallow observation standing on its own.<p>[1] See, e.g., <a href="http://www.quantum-munich.de/research/negative-absolute-temperature/" rel="nofollow">http:&#x2F;&#x2F;www.quantum-munich.de&#x2F;research&#x2F;negative-absolute-temp...</a>