• marcos@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    11 个月前

    That deserves an “always has been” meme… But IMO, Ruby outperled Perl since the beginning.

    Perl doesn’t let you redefine the syntax so that you can write the same program multiple ways. All it does is to encourage multiple programs to have the same meaning.

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      11 个月前

      I never looked at Ruby, but that doesn’t seem like it would be great for readability (although maybe productivity).

      • marcos@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        11 个月前

        People mostly refrain from using it.

        Much like people used to create an idiom in Perl and stick to it.

    • exussum@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      11 个月前

      And lets you easily write metal languages due to the way you can pass around blocks. Think configuration as code type stuff.