xp-forge / partial

Partials: Compile-time metaprogramming
0 stars 0 forks source link

Refactor naming #12

Closed thekid closed 8 years ago

thekid commented 9 years ago

As suggested in https://github.com/xp-forge/partial/issues/10#issuecomment-143545210

Unchanged

The partials lang.partial.ListIndexedBy, lang.partial.ListOf, lang.partial.Comparators and lang.partial.Constructor have been left unchanged.,

Renamed

Old name New name
lang.partial.Identity lang.partial.Box
lang.partial.Sortable lang.partial.CompareTo
lang.partial.WithCreation lang.partial.Builder

Split

The lang.partial.ValueObject has been split into composeable usecases:

thekid commented 9 years ago

I don't like the name ReferenceTo as it actually is not a reference (but a copy, at least for anything except objects).