[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A Lua formatter with LPEG
- From: Miles Bader <miles@...>
- Date: Sun, 29 Apr 2012 12:06:04 +0900
Alexander Gladysh <agladysh@gmail.com> writes:
>>>> o forced semicolons for statement termination (due to some statements
>>>> requiring it)
>
> Still, seems to be not an aesthetically good idea to enforce
> semicolons in formatter. Maybe detect that somehow and put only when
> needed?
Indeed, and I'll bet _always_ emitting semi-colons will put off a lot
of people from using a code formatter -- in _practice_ semi-colons are
basically never needed, so their presence makes Lua code look pretty
alien...
-miles
--
Once, adj. Enough.