6 ms·
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 fl
by LeafStorm 14y ago
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 languages that do not support homogeneous arrays. Though as far as the types go, I would add boolean and perhaps non-quoted strings for single-word values.
Now that the technical criticism is out of the way, holy crap this guy is arrogant.
- burke 14y agoWell, he's the CEO of Github, and he's probably been drinking, so I suppose a little bit of arrogance is expected.
- nixgeek 14y agoFor the love of baby jesus why can't people get the 'H' right.
- jobu 14y agoUnlike TOML, most people are case insensitive.
- stdbrouw 14y agoAs proper nouns become more common, they first lose any capitalization in the middle of the word, and then finally capitalization of the initial letter. It's human language. It happens.
- benatkin 14y agoYes, and I think it's arrogance on the part of Wordpress (there I did it) folks to insist that everyone capitalize it in the prescribed manner. Especially since they weren't consistent from the get-go. They even went so far as to make Wordpress (trolol) itself filter content to be capitalized if someone tries using the lower case p. http://justintadlock.com/archives/2010/07/08/lowercase-p-dangit http://justintadlock.com/archives/2010/07/08/lowercase-p-dan...
- zwegner 14y agoHehe, that reminds me of iphones auto-correcting "iphone" to "iPhone". Jeez that would irritate me, I'm trying to write a text message, not look like an iDouche...
- mcintyre1994 14y agoIt's to do with protecting their trademark though. That whole human language makes proper nouns normal words - companies don't like that at all. In the case of WordPress, there's a lot of potential for abuse if anybody can call their system it or whatever.
- burke 14y agoEspecially when their own logotype has it in all lowercase.
- baddox 14y agoThat wouldn't at all back up calling it "Github."
- GHFigs 14y agoJ.
- batgaijin 14y agogithub likes daring escapades with sharks
- taproot 14y agoDon't you mean "Jesus"?
- niggler 14y agoThe type of person who is arrogant while drunk is generally arrogant while sober as well ...
- deleted 14y ago[deleted]
- zwegner 14y agoI'm just wondering what the point of having homogeneous arrays is when the dictionaries aren't...
- norswap 14y agoSeconded. Otherwise it seems quite nice, but this one inconsistency stands out.
- nightpool 14y agoI 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.
- cjh_ 14y agofwiw: This is how I read it too, I didn't get any sense of arrogance.
- cjh_ 14y ago>I realized it aided compatibility with languages that do not support homogeneous arrays. Don't you mean languages that only support homogeneous arrays (or languages that do not support non-homogeneous)? As the spec says that the array elements must all be of the same type, thus homogeneous. If I a mistaken, can you please explain why?
- LeafStorm 14y agoI meant "only support homogeneous arrays," or "do not support heterogeneous arrays," and apparently got the two wordings mixed up. Thanks.
- Gotttzsche 14y agolooks like you can put string arrays and int arrays into the same array though. "data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it" so in a static language it would be like: Array<Array<???>> not sure this makes any sense
- steveklabnik 14y ago> If it's not working for you, you're not drinking enough whisky.
- mhartl 14y agoNow that the technical criticism is out of the way, holy crap this guy is arrogant. Tom's not being arrogant; he's just being irreverent.
- deleted 14y ago[deleted]