Piles of plusses (was Re: comma
Guy Harris
guy at auspex.auspex.com
Wed May 3 17:00:53 AEST 1989
>If it's a good thing in a language to declare all variables, to avoid
>problems with typos, and if it's a good thing not to place this burden
>on the programmer ... these might seem like conflicting factors, but
>in fact they don't conflict if the interface, rather than the
>compiler, is what declares variables for the programmer.
Yes, but the posting to which I was replying was touting Fortran as
being wonderful because it automatically declared things; perhaps there
are Fortran interfaces that will do so and catch typos, but I've not
seen one. I don't think of the requirement to declare things as being
*ipso facto* a good thing, but I *do* think of the ability to have the
system catch certain errors before I start running my code as *ipso
facto* a good thing; requiring me to declare things does help the system
catch certain errors, and I'm willing to pay what is for me a small
price for that.
More information about the Comp.unix.questions
mailing list