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

Home » Public Forums » archive » Re: Declaring large vectors in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Declaring large vectors in IDL [message #70491 is a reply to message #70489] Fri, 16 April 2010 18:48 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Apr 16, 10:35 pm, pp <pp.pente...@gmail.com> wrote:
> Do not write large literals, like that one. You just demonstrated one
> of the several reasons not to do it. Put those numbers into a file,
> then read it into the variable.

More generally, and more importantly, never write a line of code
anywhere near that long. If a line starts to become too long, it
usually means something should be done differently. It is one example
of what I call the awkwardness principle: if any code starts to get
too awkward, something probably is not being done the proper way.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Comparison operators and floating-point errors
Next Topic: Re: Virtual machine popup

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

Current Time: Wed Oct 08 17:27:39 PDT 2025

Total time taken to generate the page: 0.00649 seconds