[jawsscripts] Re: how safe are close variable names do people reckon?

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 31 May 2010 14:06:07 +1000

Great. thanks very much doug for this.
just thought I'd check.

----- Original Message ----- 
From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, May 31, 2010 2:02 PM
Subject: [jawsscripts] Re: how safe are close variable names do people 
reckon?


> Confirmed:  Computers are precise, and if they're different, even if
> by just one character, they're different enough for a compiler.
>
> On Sun, May 30, 2010 at 10:56:30PM -0500, Christopher Chaltain wrote:
> 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
>
> -- 
> Doug Lee, Senior Accessibility Programmer
> SSB BART Group - Accessibility-on-Demand
> mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
> "While they were saying among themselves it cannot be done,
> it was done." --Helen Keller
> __________�
>
> 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

Other related posts: