These combine to allow someone to choose any value as empty - so they can apply [] to all list_of's or has_many.
This has the tradeoff of potentially being verbose (though you can help with macros).
But it enables more flexibility to have empty values like :nan or :undefined or whatever the hell you want.
Jury is still out. There is a good case for saying "yes", but for now we have gone with two new options:
empty_values
default
These combine to allow someone to choose any value as empty - so they can apply
[]
to all list_of's orhas_many
.This has the tradeoff of potentially being verbose (though you can help with macros). But it enables more flexibility to have empty values like
:nan
or:undefined
or whatever the hell you want.