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

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.



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.


fwiw: This is how I read it too, I didn't get any sense of arrogance.


Well, he's the CEO of Github, and he's probably been drinking, so I suppose a little bit of arrogance is expected.


The type of person who is arrogant while drunk is generally arrogant while sober as well ...


For the love of baby jesus why can't people get the 'H' right.


As 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.


Especially when their own logotype has it in all lowercase.


That wouldn't at all back up calling it "Github."


Yes, 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-dan...


It'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.


Hehe, 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...


Unlike TOML, most people are case insensitive.


Don't you mean "Jesus"?


github likes daring escapades with sharks


J.


Now 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.


I'm just wondering what the point of having homogeneous arrays is when the dictionaries aren't...


Seconded. Otherwise it seems quite nice, but this one inconsistency stands out.


> If it's not working for you, you're not drinking enough whisky.


>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?


I meant "only support homogeneous arrays," or "do not support heterogeneous arrays," and apparently got the two wordings mixed up. Thanks.


looks 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




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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