Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How well does it work to version control Mathematica notebooks in git? For example, is it possible to get meaningful textual diffs when comparing two versions of a mathematica notebook, and can git compress them enough to keep repo size down?

With iPython this is also an issue -- tracking code in JSON is much less clean than tracking code in text files.

It's interesting that Mathematica and iPython both left code-as-plain-text behind as a storage format. I wonder if it would have been possible to come up with a hybrid solution, i.e. retain plain-text code files but with a serialized data structure (JSON-like, or binary) as the glue.



I use Mathematica daily and frequently store large-ish notebooks in Git. The format is textual, but the diffs are filled with a lot of noise.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: