Re: File Extension
Oren Ben-Kiki <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <1208033957.5494.12.camel@nero> |
IMO, using ".yml" - that is, restricting the suffix to three characters - is a relic of the "bad old days" and should be avoided. FWIW, I feel the same way about ".htm" :-) The spec itself is silent on this issue, and for a good reason - the question of "valid" suffixes is pretty much irrelevant in the first place. Files suffix should reflect the *schema* rather than the *syntax*. XML has the same issue - every time you use a '.html'/'.xhtml' suffix, you are using the schema rather than the fact the file is using XML syntax. Sure there are plenty of '.xml' files out there, but it is hardly "the" suffix for XML files. YAML files are expected to follow the same pattern - there would be plenty of ".yaml" files (and, alas, ".yml" files), but there would also be plenty of other files suffixes used, depending on the application. Have fun, Oren Ben-Kiki ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone