TOML: Tom's Obvious Minimal Language
1–10 of 229 posts
Re: TOML: Tom's Obvious Minimal Language
#2Re: TOML: Tom's Obvious Minimal Language
#3Re: TOML: Tom's Obvious Minimal Language
#4The one thing I wish TOML had added was null. Today many TOML configs still have “nullable” keys which means you need to comment them out to unset them.
Re: TOML: Tom's Obvious Minimal Language
#5That's not something I come across a lot - all my software (that I use) has a visual interface, and so raw editing of text/config files is not something we do.
So context really comes into play here. I can see how this would be very useful for some programs, and near useless for others. And more specifically useful for those who consume user-edited configuration files.
Re: TOML: Tom's Obvious Minimal Language
#6The one thing I wish TOML had added was null. Today many TOML configs still have “nullable” keys which means you need to comment them out to unset them.
Personally I'm happy it doesn't have explicit null and somewhat surprised it supports NaN (which I thought it didn't)
To my mind, a configuration file using "this key doesn't exist" as one of several valid options seems deeply unsound.
Re: TOML: Tom's Obvious Minimal Language
#7The one thing I wish TOML had added was null. Today many TOML configs still have “nullable” keys which means you need to comment them out to unset them.
The Billion Dollar Mistake lives on. Personally I'm happy it doesn't have explicit null and somewhat surprised it supports NaN (which I thought it didn't) To my mind, a configuration file using "this key doesn't exist" as one of several valid options seems deeply unsound.
I disagree. There is a big difference between configuration language formats and programming languages.
> To my mind, a configuration file using "this key doesn't exist" as one of several valid options seems deeply unsound.
I would agree, but in that case you now often need a secondary key to "turn something off" which is often not done.
Re: TOML: Tom's Obvious Minimal Language
#8I'm puzzling over where I would use this sort of thing, over say Json, or simple xml, and I realise that it's mostly useful in cases where you're expected to edit the configuration in a text editor. That's not something I come across a lot - all my software (that I use) has a visual interface, and so raw editing of text/config files is not something we do. So context really comes into play here. I can see how this wo…
Re: TOML: Tom's Obvious Minimal Language
#9I'm puzzling over where I would use this sort of thing, over say Json, or simple xml, and I realise that it's mostly useful in cases where you're expected to edit the configuration in a text editor. That's not something I come across a lot - all my software (that I use) has a visual interface, and so raw editing of text/config files is not something we do. So context really comes into play here. I can see how this wo…