Capital on Nostr: I will say one fun thing of porting dynamically typed Lua code to statically typed ...
I will say one fun thing of porting dynamically typed Lua code to statically typed Crystal is remove various test cases that wouldn't even compile.
Calling functions with the wrong arity and calling functions with the wrong types.
Published at
2023-07-01 01:03:52Event JSON
{
"id": "df72f06db7d0665515c279727dc739ec123ca3246d0a7baac271409f74c496e9",
"pubkey": "19132ebf4163a2399191bc90c23f33d1fe4945cbe9c807b0d196b172a2701961",
"created_at": 1688173432,
"kind": 1,
"tags": [
[
"mostr",
"https://furry.engineer/users/CapitalEx/statuses/110636134053101293"
]
],
"content": "I will say one fun thing of porting dynamically typed Lua code to statically typed Crystal is remove various test cases that wouldn't even compile.\n\nCalling functions with the wrong arity and calling functions with the wrong types.",
"sig": "0078150308951bbdc654981093f8b76a91b937d9a0ca8a4afde3ba87b0264972d75616758a9d2728ac06ce4bde68fa980fbacd553734a6b8a063a17270598ee4"
}