[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can Lua replace awk?
- From: Miles Bader <miles@...>
- Date: Tue, 08 Mar 2011 12:29:13 +0900
kevin beckford <chiggsy@lazyweb.ca> writes:
> That's it. Ten years ago, awk was ten years obsolete.
Hardly. Awk is an elegant and expressive little language, especially
for a certain (fairly common) problem domain.
As it is still useful, it's not obsolete.
> I hate to come to the surface in this fashion, after cheerfully
> lurking for weeks but awk? Over perl?
Perl's far more featureful, but it's a horrible language. Within its
domain, awk is much nicer.
For more complex programs, of course, awk's limitations can be annoying,
and something like Lua is often a better choice.
-Miles
--
Dictionary, n. A malevolent literary device for cramping the growth of
a language and making it hard and inelastic. This dictionary, however,
is a most useful work.