Geoff, it's not a problem. However, 1 of the things I advocate is 'self-documenting code'. Whereas integers like i can be used w/impunity as counters, as a rule, it's so much better to give descriptive names to your variables so it's clear to u, even a year or more later, as well as to any1 else who may have to maintain your code, what exactly u were on about when u wrote it. On 5/30/10, Geoff Chapman <gch@xxxxxxxxxxxxxxxx> wrote: > right. yes I hear you on that one. thanks Chris. > > ----- Original Message ----- > From: "Christopher Chaltain" <chaltain@xxxxxxxxx> > To: <jawsscripts@xxxxxxxxxxxxx> > Sent: Monday, May 31, 2010 1:56 PM > Subject: [jawsscripts] Re: how safe are close variable names do people > reckon? > > >>I think they're perfectly safe. I don't think a compiler, language, >> preprocessor or anything like that will have a problem with similar but >> different variables. I think the biggest danger here is with the >> programmer. >> If the variables aren't descriptive enough or are too similar than >> mistakes >> might be made or it might get confusing, especially when maintaining the >> script or program. >> >> >> -- >> Christopher >> chaltain@xxxxxxxxx >> >> >> >> >> -----Original Message----- >> From: jawsscripts-bounce@xxxxxxxxxxxxx >> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Geoff Chapman >> Sent: Sunday, May 30, 2010 10:49 PM >> To: jawsscripts@xxxxxxxxxxxxx >> Subject: [jawsscripts] how safe are close variable names do people reckon? >> >> Mighty Scripters. >> >> Just checking on general thoughts here, but, how safe do people reckon it >> would be, re potential confusion of processing, to be dealing with >> variable >> names that are like reeeally close together? like, say, sLine, and sLine1 >> for example? >> >> you reckon the scripting engine, or whatever it's called, would be totally >> comfortable with that? or, do people reckon one ought to avoid making >> variables that are so close in structure that their string names are only >> different by the omission of one single character at the end, would be in >> any way dangerous? >> >> thanks. >> >> geoff c. >> >> __________� >> >> View the list's information and change your settings at >> //www.freelists.org/list/jawsscripts >> > > __________� > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > -- Change the world--1 deed at a time Jackie McBride www.abletec.serverheaven.net Please join me Saturday, 11/7, on my walk against breast cancer by making a donation at: http://main.acsevents.org/goto/larkspur> __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts