Dan Piponi on Nostr: In every programming language you find yourself wrestling with aspects of the ...
In every programming language you find yourself wrestling with aspects of the language solving puzzles that are intellectually stimulating. Wrangling the C++ type system is full of puzzles and I think the sense of satisfaction in solving these is one reason why people still enjoy C++ despite it's many flaws.
But Haskell also has many kinds of puzzles like this. But there's one enormous difference between C++ puzzles and Haskell puzzles. The former often seem like arbitrary one off puzzles. When you solve Haskell puzzles it often seems like you haven't solved one single puzzle but something generalizable that occasionally rises to the level of being a "theorem".
So sometimes the C++ puzzles can be fun (in that frustrating way puzzles are), but the Haskell puzzles seem to me of more lasting value.
Published at
2024-09-30 17:25:44Event JSON
{
"id": "3cccef59a1d4b90662f6cb52b096025940ed5d219b41da52992cab2c9e46d830",
"pubkey": "3422fcbc32f333fb2d3481b2e981258af8a0b571869cbfe93c42962410e232ef",
"created_at": 1727717144,
"kind": 1,
"tags": [
[
"proxy",
"https://mathstodon.xyz/users/dpiponi/statuses/113227670797093901",
"activitypub"
]
],
"content": "In every programming language you find yourself wrestling with aspects of the language solving puzzles that are intellectually stimulating. Wrangling the C++ type system is full of puzzles and I think the sense of satisfaction in solving these is one reason why people still enjoy C++ despite it's many flaws.\n\nBut Haskell also has many kinds of puzzles like this. But there's one enormous difference between C++ puzzles and Haskell puzzles. The former often seem like arbitrary one off puzzles. When you solve Haskell puzzles it often seems like you haven't solved one single puzzle but something generalizable that occasionally rises to the level of being a \"theorem\".\n\nSo sometimes the C++ puzzles can be fun (in that frustrating way puzzles are), but the Haskell puzzles seem to me of more lasting value.",
"sig": "5ca08f95f505ebf4e6b5e4b5409701685b8dc2c6d9c972e375ef0db181742bfe91ad370cdbbc0dfce8735e240780c3c1315dd87618f33b49dc015764248c20cc"
}