El ds 13 de 07 de 2013 a les 16:56 +0200, en/na Mikel Forcada va escriure: > Al 07/13/2013 04:47 PM, En/na Francis Tyers ha escrit: > > So, if anyone is against the change could they let us know > I am currently against it. > > I'll tell you why. I am old enough to be a BASIC and FORTRAN programmer > and I remember how many bugs were due to implicit declaration. Having to > declare a variable saves you from misspelling bugs (e.g. typing > "simofinputs" instead of "sumofinputs" and not getting any complaint > from the compiler, just to find that you had computation errors or > divide-by-zero bugs later). > > Here is a proposal: have an option in the compiler. People who want to > have implicit declaration of variable could use a compiler switch that > would use a different DTD without IDREFs, etc.
I'm not suggesting implicit declaration at all!!! The way it currently works is: You have to define section-def-vars and some variable _even if_ you don't use it. You have to define section-def-attrs and some attribute _even if_ you don't use it. I'm in favour of explicit declaration of attributes/variables, I am against redundant declaration (E.g. explicitly declaring things that are later not used). Fran ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
