explanations vs. examples vs. design




> -----Original Message-----
> From: Michel Van den Bergh [mailto:michel.vandenbergh at uhasselt.be]
> Sent: Sunday, January 14, 2007 9:37 AM
> If you insist f(s):=s[1] should stay as it is but is bad programming
> then people do deserve an
> explanation why.

Yes, they may deserve it, but they probably won't read it and if they read
it they may not understand it.

A better approach, I think, is to say:

How do you pass / and use/ an array, or function array or ..... 

F(s):= arrayapply(s,1).   Don't use s[1].


Etc.
RJF

> 
> Michel