The problem is that many do not understand that Clojure data is a superset
of EDN. The two were never meant to be completely compatible. There are
many things, especially when dealing with keywords and symbols, where its
possible to have data that doesn't properly round-trip.

An added problem when dealing with EDN is that there is only really one or
two languages that properly parse it: Clojure and Clojurescript. So it's
also a poor choice to use in cases where you desire any sort of interop.

Add on top of all that that EDN parsing is really slow compared to other
approaches, and you have a lot of compelling reasons to, as Herwig put it,
"abandon edn, except for hand-written data".

And yes, the original problem that caused the creation of Transit was "how
do we get data from language A to language B while still staying fast, not
implementing a ton of code, and keeping rich data (dates should be dates,
not strings)."

On Thu, Aug 4, 2016 at 3:55 AM, Herwig Hochleitner <hhochleit...@gmail.com>
wrote:

> 2016-08-04 1:41 GMT+02:00 Timothy Baldridge <tbaldri...@gmail.com>:
>
>> I highly suggest using transit. It's much faster and formally specified.
>> https://github.com/cognitect/transit-format
>>
>> It's issues like this that caused the creation of transit in the first
>> place.
>>
>
>  I thought transit was created to take advantage of fast JSON parsers.
> I've never understood it as a "more correct" edn. People reasonably expect
> transit (and fressian) to be on par with edn.
>
> Are you suggesting we abandon edn, except for hand-written data?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
“One of the main causes of the fall of the Roman Empire was that–lacking
zero–they had no way to indicate successful termination of their C
programs.”
(Robert Firth)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to