comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL vs AWK input
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL vs AWK input [message #32939] Tue, 19 November 2002 14:12 Go to next message
jason_quinn is currently offline  jason_quinn
Messages: 2
Registered: November 2002
Junior Member
<IDL RANT ON>
Wouldn't IDL be a trillion times better if it handled reading input in
a style similar to awk, i.e. using $1, $2, etc., for reading in
columns? IDL seems overdependant on format codes and the number of
lines in a file. Also I'm sick of asking people how to do something
simple with file input/output and instead of them telling me how to do
it *in IDL* they direct me to some Joe Blow's webpage with a script
that does it. I don't want some guy's script, I want to know how to do
it in IDL. Am I a troll? No. I'm just fed-up with IDL's wacky syntax
and half-baked feel and I needed to vent. IDL feels like a shaky house
of cards. I know the way to do the things above, EOF, etc., but my
point is that it's a poorly designed language. As a casual user, I
basically need to relearn it every month or two because I've forgotten
it in the meantime. The language is difficult to remember because it
makes no sense.
<IDL RANT OFF>

Jason
Re: IDL vs AWK input [message #33007 is a reply to message #32939] Thu, 21 November 2002 09:43 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
I can relate to your frustration. I think this is an inevidable stage in
learning any programming language. Suggestions? Use another program if
you like it better; use none if you hate them all. Nobody can force you
to do what you don't want to do.
IDL's syntax *is* different. But there is also no other program that
envelopes as much within a single command. Don't believe me? Check out
WHERE and HISTOGRAM. Once you're over the steepest part of the learning
curve, you'll be cruising.
Cheers,
Pavel

Jason Quinn wrote:
>
> <IDL RANT ON>
> Wouldn't IDL be a trillion times better if it handled reading input in
> a style similar to awk, i.e. using $1, $2, etc., for reading in
> columns? IDL seems overdependant on format codes and the number of
> lines in a file. Also I'm sick of asking people how to do something
> simple with file input/output and instead of them telling me how to do
> it *in IDL* they direct me to some Joe Blow's webpage with a script
> that does it. I don't want some guy's script, I want to know how to do
> it in IDL. Am I a troll? No. I'm just fed-up with IDL's wacky syntax
> and half-baked feel and I needed to vent. IDL feels like a shaky house
> of cards. I know the way to do the things above, EOF, etc., but my
> point is that it's a poorly designed language. As a casual user, I
> basically need to relearn it every month or two because I've forgotten
> it in the meantime. The language is difficult to remember because it
> makes no sense.
> <IDL RANT OFF>
>
> Jason
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL vs AWK input
Next Topic: Contour labels, Hooray!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:12:40 PDT 2025

Total time taken to generate the page: 0.00476 seconds