[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compress a sequence of ends
- From: Johnson Lin <arch.jslin@...>
- Date: Fri, 22 Jul 2011 15:09:55 +0800
I personally switch between
blah
__blah
____body
__end
end
and
blah blah body end end
(or:
blah
__blah
____body
__end end)
all the time... well, it really depends on the context and what I need
at the specific moment. But I thought:
blah
__blah
____body
eeend
in the original ruby discussion was pretty cool though, that "end"
part in "eeend" matchs the correct position of the innermost "end",
while it ends a block of multiple indentation pretty clearly in one
line. But, I am not saying anyone should actually do this or change
the Lua syntax :p it's mere food for thought :p
--
Johnson Lin
- References:
- Compress a sequence of ends, Johnson Lin
- Re: Compress a sequence of ends, Steve Litt
- Re: Compress a sequence of ends, Dirk Laurie
- Re: Compress a sequence of ends, David Manura
- Re: Compress a sequence of ends, Pascal J. Bourguignon
- Re: Compress a sequence of ends, Dimiter 'malkia' Stanev
- Re: Compress a sequence of ends, Pascal J. Bourguignon
- Re: Compress a sequence of ends, Josh Simmons
- Re: Compress a sequence of ends, Jason White
- Re: Compress a sequence of ends, Mike Nelson
- Re: Compress a sequence of ends, Dirk Laurie