it and explicitVar?

Joe Lewis Wilkins pepetoo at cox.net
Thu Nov 22 18:05:50 EST 2012


Hi Mark,

Just one of the evil carry-overs from H.C.; actually, from this whole experience, I've come to the same conclusion; particularly for someone like me with poor vision and a tremendous likelihood of typos.

Thanks,

Joe Wilkins

On Nov 22, 2012, at 1:46 PM, Mark Schonewille wrote:

> Malte, +1 for global constants.
> 
> Joe, I don't understand people who don't put quotes around literals. In my view, this is bad programming. 
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
> 
> We have time for new software development projects. Contact me for a quote.
> 
> 
> 
> 
> On 22 nov 2012, at 22:42, Malte Brill wrote:
> 
>> Even though explicit vars (or strict compile mode in the prefs) is considdered to be a major headache by some, I have never looked back since I started to make this a prerequisite in all the code my company writes for others. When we have people writing code for us, we also require it to compile in strict mode, otherwise the code is not accepted. It adds little extra work, but helps tremendously when debugging or refactoring. I can only encourage people to use strict compile mode. You will quickly find all typos and it actually makes for cleaner code. I would even want the engine to be (optionally) a little stricter and introduce typed variables (and global constants *sigh), well I might be one of only a few there, but wishful thinking never hurts. :-)
>> 
>> Cheers,
>> 
>> Malte
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list