in reply to Re^2: Fast way - get array elements > 4 chars
in thread Fast way - get array elements > 4 chars
Oh I agree, however often when I see someone ask for a one liner in context of a script it sets of an alarm bell. For example, here the OP has not posted any code they've attempted to use to solve the problem, and to be honest, I'm not 100% sure what the actual question being asked is.
My point being that in circumstances such as this giving someone the answer may be counter productive, since they've been given the solution they asked for, and the script 'works' they may not learn what the code they've been given does, so there is a good chance it will remain undocumented, and perhaps forgotten in the mists of time.
My issue is not with one liners per se, but consider the following old adage:
Give someone a fish and they can eat for a day. Teach someone to fish and they can provide their own meals, and in time, teach others :)
Thanks
Martin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Fast way - get array elements > 4 chars
by CountZero (Bishop) on Mar 23, 2009 at 16:15 UTC | |
by marto (Cardinal) on Mar 23, 2009 at 16:25 UTC |