Open s4cha opened 7 years ago
Hey @s4cha! Arrow has a big advantage when your project is based on the Arrow+then+ws combo :) I haven't given a try to Codable yet, but definitely will do. The best way to compare the two would be seeing side-by-side code listings from some real project.
@maxkonovalov agreed! I've started trying Codable out but as much as I want to use the native solution I still prefer Arrow somehow. I must not be very objective though :)
Your answer brings me to something cool that we can do, support Codable on ws!
At first sight it would kinda look like duplicating whatever we have for ArrowParsable
with Codable
.
I guess it would make ws more attractive for users, since they would not have to use Arrow if they don't want to :)
@s4cha I believe if ws supported Codable, then it could be very powerful
I have not used Codable but at first look it seems like it is both wonderful when it works, and horrible when it doesn't.
I do a lot of debugging networking calls (real life = bad documentation) and Arrow looks a lot better than Codable for that.
@n13 This is a very late answer, but this has been done in Networking the ws successor :)
TODO
Look for all differences with codable and list them.
Codable
Arrow
Having compared Arrow with Codable in a big iOS App, I still believe there's an advantage using Arrow.
@maxkonovalov I would love to know your feelings on Codable vs Arrow :)