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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The UX of UUIDs

2 点作者 nomilk3 个月前

1 comment

mattbillenstein3 个月前
Feels like I&#x27;m reading something I could have wrote - I did this some years ago at a startup and have been doing it ever since. I&#x27;m using single-character prefixes in most places and having typed ids is so nice to be able to immediately look at an id and know what it&#x27;s used for or what type of entity it refers to.<p>I find one type char and 11 base58 chars sufficient - 12 total, gives me more values than you can store in a 64-bit int...