Skip to content

What to do Next

Lorenz Lo Sauer edited this page Oct 3, 2016 · 1 revision

The library has three main functions called Cast, Convert and Transform, which are all similar but not the same.
Be advised to choose the library's function, which best describes the situation of desired type change between the source type and resulting target data type.
Take a look at the definitions. You may also take a glance at a set of suggestions provided under best-practices.

Take note that the library gives plenty of leeway toward individual code style preferences and does not enforce any particular style, other than do not repeat yourself, and keep it short and simple KISS under the moniker of adhering to a pragmatic single responsibility principle approach.

Converting methods must have a maximum of one return type and a maximum of two arguments, by design.
Create complex, comprehensive converters out of smaller ones, declared using a graph-building library. Incidentally this also serves a purpose of potential parallelization.