I note that, like many erstwhile specs, TOML does not document the escape sequences accepted in strings. Nor does it exhaustively specify integer formats and float formats - rather ironic for a spec that advertises "TOML is designed to be unambiguous and as simple as possible." The limitation on array types seemed fairly arbitrary at first glance, but after thinking it over I realized it aided compatibility with lang…
I don't know if you can call him "arrogant". None of it read as very serious to me, I more assumed he was just having fun.
TOML, Tom's Own Markup Language
61–70 of 173 posts
Re: TOML, Tom's Own Markup Language
#62And how is this better than xml?
Re: TOML, Tom's Own Markup Language
#63Re: TOML, Tom's Own Markup Language
#64And how is this better than xml?
please let's not bring XML into this. last thing we need is someone inspired to say let's all go back to XML.
Re: TOML, Tom's Own Markup Language
#65Re: TOML, Tom's Own Markup Language
#66Re: TOML, Tom's Own Markup Language
#67Earlier quoted context omitted.
In JSON that datetime won't deserialize to a datetime instance in your language in a conforming parser. Further JSON has no comments (this is a killer for a configuration format).
There are ways to fake comments by using extra fields: { "what i want": "what i really really want", "ಠ_ಠ":"Ignore the eyes" }
Re: TOML, Tom's Own Markup Language
#68About the use of mark up language as config file. I see that in most Python apps, the config file is just another Python script and not using another markup language. This way makes sence in a dynamic language and it feels natural. I understand it is a habit to use yaml in Ruby apps for config. Is it not possible to just use Ruby script as config file since the script can be loaded dynamically? What are the pros and…
Re: TOML, Tom's Own Markup Language
#69Urg. Off topic, but I dislike this perl/ruby tendency of calling hash tables hashes . When I see the word hash , I always think of a value (ie a hash code) and not a data structure. Why couldn't they call it a hash map, hash table, map, table, dictionary etc like all the other languages...?
This bit of ruby should take care of it HashMap = HashTable = Map = Table = Dictionary = Hash And if you're feeling adventurous, Object.send :remove_const, :Hash
Re: TOML, Tom's Own Markup Language
#70I just need to auth and push it to npm.