3 ms·
Labelling was put into gmail and other google services because directories were too hard to implement and labels were seen as an easier approach. A single tabl
by londons_explore 8y ago
Labelling was put into gmail and other google services because directories were too hard to implement and labels were seen as an easier approach.
A single table in a database mapping labelName to documentId can implement labels with no extra constraints, and it scales really well.
Put an index on labelName and you can easily list all documents with a given label. Put an index on documentId and you can easily list all labels a document has.
I don't understand why other providers go to the significant extra effort of trying to implement directories.
- ocdtrekkie 8y agoThe largest issue with labels is that it isn't standards compliant. Gmail does some absolutely weird crud at the boundaries of anything not Gmail, such as IMAP or your Takeout export, neither of which understands labels. FastMail's choice to wait until a new standard that supports it is available is a strong choice towards interoperability and standards.
- londons_explore 8y agoGmail was launched in 2004, and now 15 years later, the standards haven't caught up with something to support a widely used feature...
- ocdtrekkie 8y agoOur standards haven't meaningfully changed in over 15 years, JMAP may be the first good attempt at doing so. I wouldn't say labels are widely used, Gmail is still really the only provider doing them I know of. It's just that that one provider is a monopoly.