Email or username:

Password:

Forgot your password?
Top-level
Niki Tonsky

Compare it to JSON:

- 1 sequence type
- 1 map type
- 1 string type
- 2 types of numbers

IMO we should keep extensibility, comments and keywords and ditch everything else. Then we have a chance.

9 comments
Roman

@nikitonsky json is popular because it is simple and for 95% of tasks more than it can do, is not needed. That is, the other formats will share 5% :)

Jack Rusher

@nikitonsky I would still want sets at the very least

Maksim Odnoletkov

@jack @nikitonsky sets would be too much semantics to handle in the data format..

Imagine {3, 3.000...01} could be set of one, two, or a an error on three different machines

Jack Rusher

@odnoletkov @nikitonsky Contrary data point: the data format he is discussing, EDN, has support for sets.

Niki Tonsky

@jack Maybe, I’m not sure what’s better: special syntax for them or just reader tag

Maksim Odnoletkov

@nikitonsky so what is missing in JSON then? Seems perfect.

Oh and I think there is just one type of a number

Siilwyn

@odnoletkov @nikitonsky Trailing comma's and comments would be very nice when used for developers/users. Those are the main reasons I prefer TOML over JSON for things like configuration.

Niki Tonsky

@odnoletkov custom types and comments, as I mentioned

PointlessOne :loading:

@nikitonsky And every single one of them is underspecified enough to make it a source of a terrible bug exactly once a year in every system on the planet.

Go Up