• Caveman@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    4 months ago

    Ruby syntax is nice although I prefer python way of enforcing indentation instead of adding "end"s. Personally I just want a statically typed language with enforced indent as syntax.

    • VonReposti@feddit.dk
      link
      fedilink
      arrow-up
      7
      ·
      4 months ago

      Funny, the forced indentation is what I hate about Python. If you think a missing semicolon can be hard to catch, don’t ever think about a missing whitespace :p

      The end keyword really isn’t a big deal for me. I find it to be a good way to easily spot the end of a method. But if you wouldn’t like it I’d still find it a good compromise to avoid syntax issues due to whitespace.