Closed jbenet closed 10 years ago
Would be nice to be able to use super simple names, like unix-time and iso-date to refer to unix-time-date-codec and iso-date-codec.
unix-time
iso-date
unix-time-date-codec
iso-date-codec
This
transform unix-time iso-date transform us-street-address us-city
is nicer than
transform unix-time-date-codec iso-date-codec transform us-street-address-type us-city-type
It may be worth removing the -type suffix from all types. Basically everything is a type, unless it looks like -codec or <type>-to-<type>. Then the codecs can be referenced by creating an implicit type for any existing codec.
-type
-codec
<type>-to-<type>
Removed naming convention for Codecs and Types. Conversions still <type-id>-to-<type-id>. This is a lot nicer, and should be fine.
Codecs
Types
Conversions
<type-id>-to-<type-id>
> echo 1398810849 | transform unix-time iso-date 2014-04-29T22:34:09.000Z
Would be nice to be able to use super simple names, like
unix-time
andiso-date
to refer tounix-time-date-codec
andiso-date-codec
.This
is nicer than
It may be worth removing the
-type
suffix from all types. Basically everything is a type, unless it looks like-codec
or<type>-to-<type>
. Then the codecs can be referenced by creating an implicit type for any existing codec.