[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: split method?
- From: Philippe Lhoste <PhiLho@...>
- Date: Tue, 28 Jun 2011 13:54:45 +0200
On 27/06/2011 20:37, Dave Collins wrote:
I try to avoid regex's. Just because a block of code is shorter doesn't mean it’s
simpler. I find them largely opaque to easy comprehension.
They are opaque only for the uninitiated, or when getting too large... Which is mostly
avoided in Lua because of lack of alternative (the pipe).
Documenting/commenting created regexes can help too... :-)
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --