• StarkillerX42@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    “Actually, this one isn’t ‘Wat’, it’s part of what makes Ruby awesome and powerful, unless of course you actually do this, at which point it’s ‘Wat’”

    • Zeragamba@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      let’s talk about Ruby

      Ruby like most programming languages doesn’t support bare words, [undefined variable exception]

      but if you define a particular method_missing, suddenly Ruby supports bare words. [ruby repeating what was typed]

      Now this isn’t deserving of wat. this actually shows just how awesome Ruby is. [Drummer_t-rex.jpg]

      But if you actually do this then…

      Wat