Paul on Nostr: I don't understand enough Rust to be able to read an API reference in the ...
I don't understand enough Rust to be able to read an API reference in the documentation, but I do like the match expression. PHP has something similar and it's much cleaner than a huge if/elseif block or switch statement.
#RustLang #PHP
Published at
2026-02-20 13:35:38 UTCEvent JSON
{
"id": "05c40b4b8b55399e6f992892700cfe11d1ceed33b8e0643836daa862b2d15114",
"pubkey": "841863febf01dcb24f5abdb8d137ff157f77922a00fac24c2ed7a0362d48f254",
"created_at": 1771594538,
"kind": 1,
"tags": [
[
"t",
"rustlang"
],
[
"t",
"php"
],
[
"proxy",
"https://social.xk7.net/users/pwaring/statuses/116103219701280479",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "I don't understand enough Rust to be able to read an API reference in the documentation, but I do like the match expression. PHP has something similar and it's much cleaner than a huge if/elseif block or switch statement.\n\n#RustLang #PHP",
"sig": "4903568995a416ccecabf0168e3611ff62eb934084ff96e5ed7c88247a416f637e8a3776c97750a9b359f7eac384c45f2ecc0db7e2c2f211fe86f09bb7959203"
}