Lapin on Nostr: one thing that people would find annoying when writing zig is… probably this. even ...
one thing that people would find annoying when writing zig is… probably this. even i find it annoying occasionally
whereas on C the compiler sees a 16 / 4.0 and assumes “oh, you probably want me to convert that ‘16’ into a float, yeah sure”
on zig it complains “you can’t divide an int with a float you dumb bitch, fucking go cast it yourself”
Published at
2025-03-14 16:35:08Event JSON
{
"id": "a4c6383d76e9c6dd557293b53ad9e3ca392d0e405f2aa06213984be9750f4788",
"pubkey": "87bc2eb47093a1b1ed69a6b4c147d5fe9877227bb8a330e32b977889361860a0",
"created_at": 1741970108,
"kind": 1,
"tags": [
[
"imeta",
"url https://varishangout.net/media/bbc14232-bf2b-4360-bd65-8b675b6acd69/image.png",
"m image/png"
],
[
"proxy",
"https://varishangout.net/objects/c272859f-ebda-44a3-92c9-437e39d6a313",
"activitypub"
]
],
"content": "one thing that people would find annoying when writing zig is… probably this. even i find it annoying occasionally\n\nwhereas on C the compiler sees a 16 / 4.0 and assumes “oh, you probably want me to convert that ‘16’ into a float, yeah sure”\n\non zig it complains “you can’t divide an int with a float you dumb bitch, fucking go cast it yourself”\n\nhttps://varishangout.net/media/bbc14232-bf2b-4360-bd65-8b675b6acd69/image.png",
"sig": "4438431f589019717bc4ba2725a6d5d77bf2f33e326ccf2d2cc4e184e0df4ffade95cb25be99d26533ed4dd38113d0a9d8d7b29d3084140793ec97cd8159f285"
}