Re: Can't pass dynamic arrays to procedure without EInvalidPointer exception

nobody_at_noplace.not
Date: 07/10/04


Date: Sat, 10 Jul 2004 14:34:07 -0400

On Sat, 10 Jul 2004 13:24:00 GMT, "David Reeve" <dree4456@big-pond.net.au>
wrote:

>> >for i do
>> > diecounts[i]:=0;
>> It's too inobvious... It may be a typing saver when your head is all
>> wrapped around your code and you're blazing new coding frontiers... but
>when
>> you come back to it in a couple of years, it's going to be worse than
>> meaningless...
>
>I oppose 'clever' code with a vengeance for the very reasons you state, but
>IMO there is not a lot wrong with this, provided you are working with the
>flow of this strongly typed language.

I suppose I'm something of a comment freak, in that I refuse to use those
really tricky code snippets that only a Klingon would understand and even
then I comment my code heavily to show what's going on at the moment. I
have 10 year old code I still update every couple of years. It would
otherwise be impossible to get that far removed from a body of work and
return to it otherwise.

Mind you, I look at stuff I wrote 10 years ago and I see "baby code" that
reminds me of how much I've learned over time...

>> What is the range of I?
>> Where's it defined?
>> What values does it represent?
>
>Surely, no more than a click away, or cursor hover? And, having a sensible
>type name, is not the answer immediately obvious?

If you're working in Delphi's IDE, that's true. I'm not. I work with an
IDE called Context and the command line compiler. This is because I don't
usually use forms or object level coding and all that RAD stuff just gets in
my way.

>I am very much a low level programmer...... electronics ->
>microprocessors->high level languages, yet I have come to like/admire the
>abstraction possibilities Delphi offers.

Same path here, thanks to a partner who was heavily into ameteur radio as a
hobby.

>Bill Gate's rescued computers
>and computing from the wilds of geekishness, and we are all now free to to
>name functions along the lines of 'TurnsOffTheLights" rather than feel
>obliged to come up with something like 'dlite'.

LOL... while it's impossible to discount Gates influence on the computer
world I wouldn't be giving him that much credit. I suspect that a lot of
what has happened in computing has come along despite his efforts at
dominance... Linux, being a prime example.

-----
Laura



Relevant Pages

  • Re: variable query
    ... > Agreed - if you do your PHP coding in an IDE that colors code, ... > out the variable from the string will ensure it's colored properly to ... In My IDE ...
    (alt.php)
  • Re: connection SQL-server 2000 and webapplication
    ... And the best way of connecting is always by coding it yourself and not ... relying on the 'wizards' in the IDE. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Help : Replace title bar/Add fixed sets of controls/images to every screen ?
    ... change they seemed to find was the ide was different and much slower ... but their coding hasn't really changed much. ... VB.Net: "Fool me once..." ...
    (microsoft.public.vb.general.discussion)
  • Strangeness with the running in the IDE
    ... Yesterday I was coding and testing it ... it in the IDE and the IDE locks completely up. ... Then nothing happens and the IDE locks up. ... under the Processes tab and I have to go kill that process before I can try ...
    (microsoft.public.dotnet.languages.vb)
  • Re: JPEG2000 using 1D DWT
    ... > buffers while computing the lifting, I still have to store the ... Can you please clarify your point of "no need to store the full ... I don't know what a "Tier-1" coding is, but all you need to do is to ...
    (comp.compression)