• JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    4 months ago

    Fucking Ruby… Nothing is more confusing to me than seeing an error about a method not existing but the problem being that something was null/missing.

    • traches
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      That exact error is why I only want to work in typed languages now

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        4 months ago

        It’s amusing to me that people will say “my code documents itself” while also using dynamic languages. It should be called GDD. Guess driven development.

        • traches
          link
          fedilink
          English
          arrow-up
          6
          ·
          4 months ago

          I love how parentheses on function calls in ruby are optional. Is it a variable? Is it a function? Where does it come from? Who the hell knows! Try to run it and find out, loser