.yml vs .yaml
Trans <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
I know when I asked about it last, I was informed that the official
extension for a generic YAML file was `.yaml`. I certainly have no
issue with that in itself. However, in the field it seems like
everyone (at least in the Ruby circles) is just using `.yml`. If this
is predominantly the case for large majority of YAML users, perhaps it
would be better to just accept it and make `.yml` official?
While it may not seem a big deal, when one is frequently programming
for YAML files, it is much less troublesome and easier on the eyes to
write:
File.read('foo.yml')
then
File.read(Dir.glob('foo.{yml,yaml}'))
all the time.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first