https://github.com/idapgroup/IDPCastable
i like the idea of Castable. but i don't like to have too much public functions without an "Namespace" aka Class flying around like cast
, castable
, match
.
i prefer it more encapsulated in one class and also to prefix the first closure also with match
to get it uniform with the other match
es
i rewrite the class like this: