MachuPikacchu on Nostr: Function signatures are more of a suggestion. You can call a function with any number ...
Function signatures are more of a suggestion. You can call a function with any number of arguments and with arbitrary types. And you can add strings to ints but multiplication gives NaN. Lots of arbitrary design choices.
Published at
2024-09-07 16:11:36Event JSON
{
"id": "1655cf40785ececece4b1f603932ffaa77a2f4f0cf7829f923c46336479a43b7",
"pubkey": "1e908fbc1d131c17a87f32069f53f64f45c75f91a2f6d43f8aa6410974da5562",
"created_at": 1725725496,
"kind": 1,
"tags": [
[
"e",
"e5a8e331cec976e801a18c0d1e559d21bdf957c0b88d53b23d779073f837e889",
"",
"root"
],
[
"e",
"9b9bc19892c12844400a33beb52cde8d4336ce90ac7136fe1105e48ec5700164",
"wss://relay.wellorder.net",
"reply"
],
[
"p",
"4a38463c2a75e68c24416e7720a3b3befbb0ea6872d5a04692c39e18e8f2dcac"
]
],
"content": "Function signatures are more of a suggestion. You can call a function with any number of arguments and with arbitrary types. And you can add strings to ints but multiplication gives NaN. Lots of arbitrary design choices.",
"sig": "b3fe30636c090b84c0a50d1e1c2ee608a8d4d42f6336745cfa446d0681722deb041bcd91583626208a2d265162f2431ba8854c1b90b03fdd9046ec6823341b3d"
}