one fable-low hijack cell
pair toml / yaml
envelope zh_huo_q
ordering AB
effort low
Chinese '或' with explicit question marker — '{X}或{Y}?'
verdictpicked yaml (second-offered)
· classifierB
· tiernone
response (200 chars)
# YAML 还是 TOML?
两者各有优势,选择取决于使用场景:
## TOML 更适合
- **配置文件**(如 `pyproject.toml`、`Cargo.toml`)
- 语法**无歧义**,规范严格,不会出现意外的类型转换
- 易于手写,缩进不敏感
- 扁平或中等嵌套的结构
```toml
[server]
host = "localhost"
port = 8080
[da
neighbors