News for hackers. Stuff that matters.
Re:Transit – A format for conveying values between different... by tapichu on Wednesday July 23, 2014 @01:37AM (#8073062)
Transit lets you define your own semantic types, with handlers and decoders to map from/to your programming language types.

What exactly would one gain from using schemas, if I can send the value (state) of any of my static types to another application using Transit?

Re:Transit – A format for conveying values between different... by haberman on Wednesday July 23, 2014 @02:34AM (#8073162)
> What exactly would one gain from using schemas, if I can send the value (state) of any of my static types to another application using Transit?

Interoperability with other languages, for one. The static type you defined in your language can't be used with any other languages. Schemas are static types that can be used across languages.

Re:Transit – A format for conveying values between different... by tapichu on Thursday July 24, 2014 @01:17AM (#8078308)
Right, but you can write a decoder an let Transit convert your type to an equivalent type in another language.

That's the whole point of Transit, interoperability with other languages. Having a good set of scalar types, basic composite types, and the ability to extend it with your own semantic types built recursively from the base types.