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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

TOML – Tom's Obvious, Minimal Language

14 点作者 amirmasoudabdol大约 5 年前

1 comment

EdSchouten大约 5 年前
Am I the only one who simply doesn’t see the point of using TOML?<p>Even though it’s easy to find things in JSON and YAML that you could pick on, it is always pretty obvious what is being declared. It’s easy to see the hierarchy of it all: it’s one big tree of dicts, lists and scalars (disregarding some of YAML’s rarely used features, like tags and references). With TOML, that hierarchy simply becomes lost. It all feels like stuff is&#x2F;can be declared in random order. Why would anyone want to back to using INI files? I remember using them on DOS and Windows and I can’t remember liking them that much.<p>Even if TOML has certain advantages over YAML&#x2F;JSON, those advantages are so incredibly small if you look at the bigger picture. For JSON and YAML I can easily find parsers&#x2F;generators for any language out there, even fairly exotic ones. For TOML there is a lot less choice.
评论 #22711440 未加载