TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Perfect Programming Language

2 点作者 quyleanh6 个月前

3 条评论

Someone6 个月前
&gt; Booleans can be <i>true</i>, <i>false</i> or <i>maybe</i>. […] Technical info: Booleans are stored as one-and-a-half bits.<p>Most languages would need at least ²log(3) bits. That’s about 1.58496250072, so that cuts more than 5% in storage.<p>I guess they’re using the fact that most real-life booleans have the value <i>maybe</i>, but don’t see how to implement this.
gnabgib6 个月前
Repo title: <i>DreamBerd</i><p>Discussion in 2023 (736 points, 211 comments) <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36183683">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36183683</a>
MountainMan13126 个月前
As a time traveler myself I&#x27;m a big fan of the variable hoisting feature