GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Bèr Kessels 🐝 🚐 🏄 🌱 (berkes@mastodon.nl)'s status on Tuesday, 19-Dec-2023 18:24:38 JSTBèr Kessels 🐝 🚐 🏄 🌱Bèr Kessels 🐝 🚐 🏄 🌱
    in reply to
    • 🎓 Doc Freemo :jpf: 🇳🇱
    • Julien Palard

    @freemo @mdk 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.

    In conversationTuesday, 19-Dec-2023 18:24:38 JST from mastodon.nlpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.