What is Nostr?
Bèr Kessels 🐝 🚐 🏄 🌱 /
npub1qaq…gk6u
2023-12-19 09:21:52
in reply to nevent1q…jdv0

Bèr Kessels 🐝 🚐 🏄 🌱 on Nostr: npub1kpwlx…xxzz4 npub1srml6…usmxm it hardly makes theoretical difference. But the ...

npub1kpwlxpzkxfmuxjmzc2wp3rf9vjg0sgydmlhsnrgqr3maf59h86qqdxxzz4 (npub1kpw…xzz4) npub1srml6uclqz6gejnue249my5jy96aqfr9rvmfs2eyn4s02xmds0sqxusmxm (npub1srm…smxm) it hardly makes theoretical difference.

But the ergonomics and the communication are very different.

Ergonomics: Many other methods in python act 'on the thing' (str.capitalize() etc). So it's inconsistent.
Chaining isn't possible: thelist.map().filter().sort().reduce() vs reduce(sort(filter(map(thelist))). Gets worse with multiline lambdas.

Comms: custom classes can have iterator methods implemented (ie a custom .sort()) But they cannot introduce global methods.
Author Public Key
npub1qaqt4qpc83zaszezl2w09gddr8srwd3taykwj9ujpn3q3fpe9hdqctgk6u