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

Home » Public Forums » archive » IDL Poetry
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 Poetry [message #92922] Thu, 24 March 2016 08:21 Go to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I had a big smile reading Mike Galloy's "Tao of IDL" blog post this morning.

http://michaelgalloy.com/2016/03/22/philosophy-of-idl.html
Re: IDL Poetry [message #92923 is a reply to message #92922] Thu, 24 March 2016 08:25 Go to previous messageGo to next message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 3/24/16 9:21 am, wlandsman wrote:
> I had a big smile reading Mike Galloy's "Tao of IDL" blog post this morning.
>
> http://michaelgalloy.com/2016/03/22/philosophy-of-idl.html
>

"Poetry" might be an ambitious claim.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Re: IDL Poetry [message #92938 is a reply to message #92922] Wed, 30 March 2016 13:33 Go to previous messageGo to next message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 03/24/2016 04:21 PM, wlandsman wrote:
> I had a big smile reading Mike Galloy's "Tao of IDL" blog post this morning.
>
> http://michaelgalloy.com/2016/03/22/philosophy-of-idl.html
>

Haha, great one, thanks!! When I read:

> Backwards compatibility is great!
> But it doesn’t mean you should index arrays with parentheses forever.

I had to think of that one:

IDL> l = list([1,2,3], 'test')
IDL> l[0][1]

l[0][1]
^
% Syntax error.

Here I would welcome the loss of backwards compatibility ;-)

Cheers,

Fabien
Re: IDL Poetry [message #92940 is a reply to message #92938] Wed, 30 March 2016 14:40 Go to previous messageGo to next message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Wednesday, March 30, 2016 at 10:33:19 PM UTC+2, Fabien wrote:

> IDL> l = list([1,2,3], 'test')
> IDL> l[0][1]
>
> l[0][1]
> ^
> % Syntax error.
>
> Here I would welcome the loss of backwards compatibility ;-)

IDL> l = list([1,2,3], 'test')
IDL> l[0,1]
2

Even less typing :-)

regards,
Lajos
Re: IDL Poetry [message #92942 is a reply to message #92940] Thu, 31 March 2016 03:56 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 03/30/2016 11:40 PM, fawltylanguage@gmail.com wrote:
> IDL> l = list([1,2,3], 'test')
> IDL> l[0,1]
> 2
>
> Even less typing:-)
>
> regards,
> Lajos

Ah! I always forget about this one. Maybe because it looks funny:

IDL> l = list(hash('a', 1), 'test')
IDL> l[0, 'a']
1

Thanks for reminding me ;)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: disk arc
Next Topic: IDL & C++ Development Roles - Remote & Full Time

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

Current Time: Wed Oct 08 07:22:53 PDT 2025

Total time taken to generate the page: 0.00724 seconds