• traches@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    27
    ·
    edit-2
    3 months ago

    I think it’s telling that none of his talks even make it all the way through his SOLID acronym, he sorta just trails off when he’s out of time.

    His ideas were real big in the ruby community back when I was learning it, and if I ever go back that code is such a pain to work with. Almost impossible to follow the logic, inheritance everywhere, and I even thought metaprogramming was a good idea. Tests are the only reason that code has any reliability at all.

    Now most of my code is procedural or functional, favors composition over inheritance, and is colocated as much as possible.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      3 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.

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          1
          ·
          3 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@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            6
            ·
            3 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