/dev/urandom on Nostr: seeing languages like #javascript and #php have complicated problems with type ...
seeing languages like #javascript and #php have complicated problems with type comparisons makes me think that perhaps #perl got it right by having one set of operators for numeric comparison (<,==,>,<=> etc.) and another for string comparison (lt,eq,gt,cmp etc.)
Published at
2025-01-19 13:31:08Event JSON
{
"id": "5389bd1eb574d501d36abfd83bee8df1eb16758ea689f9bec6d9e54f58bd7f67",
"pubkey": "cb22e933dc1d4fa1b23857507ed6752610249d763033205389ea1c37da313dc6",
"created_at": 1737293468,
"kind": 1,
"tags": [
[
"t",
"javascript"
],
[
"t",
"php"
],
[
"t",
"perl"
],
[
"proxy",
"https://toot.cat/users/rnd/statuses/113855264724334052",
"activitypub"
]
],
"content": "seeing languages like #javascript and #php have complicated problems with type comparisons makes me think that perhaps #perl got it right by having one set of operators for numeric comparison (\u003c,==,\u003e,\u003c=\u003e etc.) and another for string comparison (lt,eq,gt,cmp etc.)",
"sig": "7074eee746c9bc95fbc8068f6878ab1f433a6fb0bc67bac366ee80a47b831737e62a019cb911a775edc5ae73bb8396ee2a44eae5a55d4882458bf7a76ba7dd1a"
}