TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Git is a purely functional data structure

12 pointsby alipangabout 12 years ago

3 comments

richoabout 12 years ago
being immutable and being functional aren't even close to the same thing. It just so happens that git's object db is immutable, although even then it depends what you're talking about.<p>It's most interesting property is that it's content-addressable, but still has tons of mutable elements, refs, symbolic refs, config keys, the notes infrastructure (kinda).
评论 #5314156 未加载
评论 #5324433 未加载
toolsliveabout 12 years ago
Isn't the word he's looking for 'persistent' ? <a href="http://en.wikipedia.org/wiki/Persistent_data_structure" rel="nofollow">http://en.wikipedia.org/wiki/Persistent_data_structure</a>
评论 #5317841 未加载
shurcooLabout 12 years ago
Very nice read.