[Topic DIscussion] 主要吐槽yaml,玲珑是不是还是选toml当配置文件比较好?
Tofloor
poster avatar
RedPanda
deepin
2023-04-30 18:54
Author

yaml这个见鬼的空格缩进让人看着头晕眼花,非强制缩进空格实在是有点费眼睛。

感觉还是toml好点?

Reply Favorite View the author
All Replies
我是昵称
deepin
2023-04-30 19:35
#1

https://users.rust-lang.org/t/why-does-cargo-use-toml/3577/13

这里有关于 cargo 配置文件格式选择(toml) 的讨论,从中可以得到部分启发。

Reply View the author
RedPanda
deepin
2023-05-01 00:05
#2
It has been deleted!
RedPanda
deepin
2023-05-01 03:12
#3
我是昵称

https://users.rust-lang.org/t/why-does-cargo-use-toml/3577/13

这里有关于 cargo 配置文件格式选择(toml) 的讨论,从中可以得到部分启发。

这个讨论还是很有见地的,但在我个人观点是配置文件应当注重的是可读性(对人类),而不是一个人类读起来很费力的文件....

Reply View the author