Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

TOML

What's the problem?



What are you trying to ask? I don’t understand. I’m not talking about toml.


I gave you a good text file format. You're acting like there are no good file formats. Either invent a domain-specific one, use a standard one, or use a different modality rather than complain that a utopia you won't bother to create doesn't exist.


Csv files are bad for many reasons, some of which are listed as positives in the article. I’m not talking about other formats.


But TOML is not a good file format. Quite the opposite actually.

https://hitchdev.com/strictyaml/why-not/toml/


I found that post unconvincing.

> It's very verbose.

This is his example: https://github.com/crdoconnor/strictyaml/blob/master/hitch/s...

I think you shouldn't use yaml or toml for this.

> TOML's hierarchies are difficult to infer from syntax alone

True! The point of TOML is to flatten the hierarchical structures. I would argue your configuration files shouldn't have much nesting anyway.

> Overcomplication: Like YAML, TOML has too many features

Basically TOML has a date type and all associated problems and advantages. I think it's a reasonable thing to include.

> Syntax typing

I think this is a good thing. I want to know whether something is a string or a number.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: