mleku on Nostr: redefining infix, postfix and prefix operators on anything other than value types is ...
redefining infix, postfix and prefix operators on anything other than value types is a bad game, as is macros - they make it so when reading the code you have to go through two things to remember instead of just one, and then spread that out to a whole project
i'd say the thing you missed is why make another language when there is already a pretty much perfect one?
for me, there is #bitcoin and then there is #golang and these are two things that really don't need to be changed without inordinately long processes of deliberation, testing and modeling
Published at
2024-04-09 22:22:25Event JSON
{
"id": "ba2f6b9e36052a1fbf690216297e137fd2ebef6475db5008f8e01ae97c4689f4",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1712701345,
"kind": 1,
"tags": [
[
"t",
"bitcoin"
],
[
"t",
"golang"
],
[
"e",
"6f83f5623b435e6da8876de40ac53fe68be2fba158f1b5af40c173564adbc673",
"wss://relay.nostr.band/",
"root"
],
[
"e",
"55f89313292836be717806f38484c39e69cc73d128d4078a3277e28b240ce0fd",
"wss://relay.nostr.band/",
"reply"
],
[
"p",
"d6149823c90c4865e4bc434a4be1a1ee8f72aabd8328dd059ba4f11f7633b0b6",
"",
"mention"
]
],
"content": "redefining infix, postfix and prefix operators on anything other than value types is a bad game, as is macros - they make it so when reading the code you have to go through two things to remember instead of just one, and then spread that out to a whole project\n\ni'd say the thing you missed is why make another language when there is already a pretty much perfect one?\n\nfor me, there is #bitcoin and then there is #golang and these are two things that really don't need to be changed without inordinately long processes of deliberation, testing and modeling",
"sig": "f2937250cc855fefe449ad6f6ef06f560652295819d04ae502673fa91e35501e571998904c80200b3c7086fbccb79faeee7d716350d5158120b1c14a0dc4c98f"
}