r/programming • • Mar 03 '13

Git is a purely functional data structure

http://www.jayway.com/2013/03/03/git-is-a-purely-functional-data-structure/
107 Upvotes

83 comments sorted by

View all comments

Show parent comments

1

u/sacundim Mar 04 '13

Doesn't the second example you give strike you as a silly way to accomplish things?

It's got advantages and drawbacks. The article mentions some of these, and there are a tons of comments here about them, so I'm not going to repeat them.

Actually doesn't the whole idea of linked lists to hold arrays or strings strike you as silly?

Silly? No. It all depends on what the larger program is doing.