In our previous episode, J?rgen Hestermann said:
> > The beauty of the current solution is that static and dynamic arrays can 
> > be substituted with each other, simple by changing the declaration, and 
> > adding/removing a setlength. All other code can be left as it is.
> > If you needed the "^" for dyn arrays everywhere, then you would have to 
> > make huge changes throughout your code, if ever you needed to change 
> > between static and dynamic arrays.
> 
> What is the problem with search-and-replace? If you are forced to change 
> your code you will have a closer look at it and may get aware of side 
> effects of the change.

Yes, and if I had enough time I'd even write a poem about it :-)
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to