Hacker News new | past | comments | ask | show | jobs | submit login

The benefit of this is that you can use different emojis to denote content type.

e.g. if it's a frowny face you know it's an invoice.




Funnily enough, I published a Python library two days ago that uses emojis to indicate where certain non-msgpackable builtin types have been forced into msgpackable objects: https://github.com/umarbutler/persist-cache/blob/main/src/pe...

is used for tuples, for sets, for frozen sets, for pickles, for bytes and for bytearrays.

I thought it was pretty ingenious but clearly I’m not the only one to think of it.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: