yaml =~ fortran

June 12th, 2006

So I’m setting up a Rails site so the intended owner can do frequent updates to data files rather than raw html. Afterall, they only want to update the model, not the view.

After re-learning YAML for the 10th time (ok, it’s not as bad as re-re-re-learning perl), I’m still surprised that nested dictionary mappings are space sensitive in the data file. Indenting by a single space indicates an inner hash… dare you accidentally indent by two and cause the nested relationships to shift!

Leave a Reply