• Cat_Daddy [any, any]@hexbear.net
    link
    fedilink
    English
    arrow-up
    6
    ·
    7 days ago

    Ruby is awesome. Finding out that everything is an object, and because of that you can do things like in your example (10.whatever), is hilarious coming from other languages.

    • 1rre@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      7 days ago

      C# allows that. Scala allows that. I imagine a bunch of others do too, it’s just that Python is a scripting language so is simpler in terms of features