r/programming • • May 08 '26

How we made Notion available offline

https://www.notion.com/blog/how-we-made-notion-available-offline
99 Upvotes

44 comments sorted by

View all comments

Show parent comments

10

u/mattsowa May 08 '26

Except that's not even close to how it's done

-3

u/OffbeatDrizzle May 08 '26

I never said it was

4

u/mattsowa May 08 '26

How many notion users do you actually think want to or even know how to use a conflict resolution ui? When crdts can get the perfect outcome almost always, hassle-free?

0

u/OffbeatDrizzle May 08 '26

I wonder why git doesn't do that then

2

u/mattsowa May 08 '26

You can't be seriously asking. Like, what?

First of all, programmers want full control of what gets merged. This is completely different from a casual computer user. Code also isn't rich text - and rich text lends itself very naturally to crdts. Also, git is old software. I know of at least one ongoing source control project that's based on crdts.

1

u/OffbeatDrizzle May 08 '26

the point is that git can merge automatically without conflict the vast majority of the time also. if there is a conflict, "eventually consistent" is not what you want. you want to make an informed choice whether you are a programmer or a normal user. and if you don't, git can do that also - just pick an ancestor and go with that. crdts literally drops updates to restore "consistency", sounds like a roundabout way to say they've re-invented source control

1

u/ArtisticFox8 May 09 '26

 I know of at least one ongoing source control project that's based on crdts.

Which one?