I think this is awesome. One of the only pain points I have with Scala is collection literals.

  • soc@chaos.social
    link
    fedilink
    arrow-up
    1
    ·
    5 days ago

    @smoredahl That’s an absolute dog shit reason to be completely honest.

    No matter how familiar it makes the language, it increases the inconsistency within the language itself, not to mention the complexity that comes with it.

    I have a whole presentation about how stupid increasing familiarity at the expense of simplicity and consistency is.
    One of the core reason why we can’t have nice things in computing.

    • smoredahlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      I see what you’re saying, but isn’t familiarity worth something? After all, Brainfuck is incredibly simple and consistent :)

      • soc@chaos.social
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        4 days ago

        @smoredahl Familiarity is designing for existing users, simplicity is designing for everyone; see https://soc.me/languages/familiarity.

        (I have had this discussion many times. I have heard every single argument on why *this* time repeating a past mistake for familiarity is good. It never works out.)

        > After all, Brainfuck is incredibly simple and consistent :)

        By that measure C++ should be very familiar, because it contains every feature ever imagined by someone. We know how that one worked out.