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

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

Conversation

Notices

  1. Embed this notice
    Jon (Snarf) Mason (snarfmason@hachyderm.io)'s status on Wednesday, 05-Jun-2024 06:54:56 JST Jon (Snarf) Mason Jon (Snarf) Mason
    • Matthew Lyon

    @technomancy @mattly well as a fellow Smalltalk lover, I can't fault you there. And frankly just evaluate left to right is still better then trying to remember binary operator precedence.

    In conversation about a year ago from hachyderm.io permalink
    • Embed this notice
      Jon (Snarf) Mason (snarfmason@hachyderm.io)'s status on Wednesday, 05-Jun-2024 07:11:50 JST Jon (Snarf) Mason Jon (Snarf) Mason
      • Matthew Lyon

      @mattly @technomancy I agree with the principal. But I honestly don't know which way is better.

      There are established conventions for the math operators yes. But those aren't the only binary operators in most programming languages.

      What the fuck does order X + Y & Z apply in? (PS: fuck Ruby and whoever else though &&/and have different binding priorities was a good idea).

      Once you move past the rules we learned for arithmetic, "go left to right for everything" actually is better, I think.

      In conversation about a year ago permalink
    • Embed this notice
      Jon (Snarf) Mason (snarfmason@hachyderm.io)'s status on Wednesday, 05-Jun-2024 07:15:09 JST Jon (Snarf) Mason Jon (Snarf) Mason
      in reply to
      • Matthew Lyon

      @mattly @technomancy I agree with you about trying to design languages to make it harder to make mistakes though and that's why I like the Pony approach.

      I'm honestly not sure any way of assigning precedence of binary operators is good.

      In conversation about a year ago permalink
    • Embed this notice
      Jon (Snarf) Mason (snarfmason@hachyderm.io)'s status on Wednesday, 05-Jun-2024 07:17:34 JST Jon (Snarf) Mason Jon (Snarf) Mason
      • Matthew Lyon

      @mattly @technomancy well I'm not saying LISP isn't best.

      In conversation about a year ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • 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.