Nicolas Martyanoff on Nostr: First reaction after installing #Erlang 27 rc1 (kerl build-install 27.0-rc1 27): yes ...
First reaction after installing #Erlang 27 rc1 (kerl build-install 27.0-rc1 27): yes ~"foo" is shorter than <<"foo">>. But 1/ it's a *lot* less ergonomic to type (try it!) and 2/ the default printer is still going to spit out <<"foo">>.
Using b"foo" would have so much better.
Published at
2024-02-17 13:11:08Event JSON
{
"id": "908fd7aef9b20b21edc5d620c3570bde7a9f210f126c3a40ee7c45c81c94a1d5",
"pubkey": "f320bdda416aa99f2ae0949dca56c3bf58a9815c9de7ba950ad1fa568da2b816",
"created_at": 1708175468,
"kind": 1,
"tags": [
[
"t",
"erlang"
],
[
"proxy",
"https://emacs.ch/users/galdor/statuses/111946987529706457",
"activitypub"
]
],
"content": "First reaction after installing #Erlang 27 rc1 (kerl build-install 27.0-rc1 27): yes ~\"foo\" is shorter than \u003c\u003c\"foo\"\u003e\u003e. But 1/ it's a *lot* less ergonomic to type (try it!) and 2/ the default printer is still going to spit out \u003c\u003c\"foo\"\u003e\u003e.\n\nUsing b\"foo\" would have so much better.",
"sig": "4b5b175ca23c9317273be64152128b125ef2b6ad6660daa63dfa0c2dccdee38f723a690179539f8aafad766a5873909a6b8ec9ad14f438bf6bceea3e393c4d66"
}