On Wed, Jun 17, 2020 at 6:09 AM Soni L. <fakedme+py@gmail.com> wrote:
This also gives us two ways of doing indented strings (in Lua):

local ugly = "foo\n    \z
                  bar\n    \z
                  baz"
local nicer = "foo\n\z
               \x20   bar\n\z
               \x20   baz"

I'm having a really hard time seeing why that is either more readable, or easier to type than:

nicest = ("foo"
          "   bar"
          "   baz"
          )
(my prefered way these days)

or 

nicest = \
"""foo
   bar"
   baz"""
  
-CHB
         


--
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython