RE: Indentation Griping...

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Tue, 9 Dec 2008 17:22:38 -0500 (EST)

In terms of closing block information, VB.NET seems to be the
friendliest.  Rather than a change in indentation, a closing brace, or
simply the word "end" like Ruby, VB uses End If, End Try, etc -- explicit
and unambiguous.

This analysis has led me to recommend one of two languages for a beginning
blind programmer that is primarily coding his or her own projects:
Visual Basic .NET or Python.  VB is friendlier in terms of indentation,
case sensitivity, consistent casing (the .NET Framework class library),
and building stand-alone executables.  Python is friendlier for finding
and installing 3rd party packages and for its interactive testing
environment, as well as for creating portable code to other platforms.
Both have a "batteries included" approach in terms of extensive built-in
functionality and a clean, English-like syntax.

Jamal


On Tue, 9
Dec 2008, Ken Perry wrote:

> Date: Tue, 9 Dec 2008 16:27:29 -0500
> From: Ken Perry <whistler@xxxxxxxxxxxxx>
> Reply-To: programmingblind@xxxxxxxxxxxxx
> To: programmingblind@xxxxxxxxxxxxx
> Subject: RE: Indentation Griping...
>
>
> Um I don't think we said we can do anything special one way or another
> you're the one calling a big difference into it.  For example I find braces
> less accessible depending on who writes them for example and people who
> write pearl code seem to be the worst at this if you don't count gawk
> coders.  Here is my example
>
>
> If ((bla>bla) && 9(blab la)){
>       Bla blab la bla}
>
> Now this is not the worst case I have seen where the ending has like 4
> braces and you have no idea which lines are closed by what and you have to
> listen to the whole line to know that there is a  opening brace and not just
> a single statement.
>
> With indentation and a sound scheme or Braille you can quickly hear or see
> what block of code goes with what and if there is actually a following
> statement or if it's a single line if . Because if I arrow down and it goes
> bing bong I know I have entered a body if it goes bing bing I know we are at
> the same level and that if has a statement after it I didn't have to listen
> to the whole line to find out there was a brace or not at the end.
>
> I can also quickly arrow down through 2 lines of code and if it goes bing
> bing bing 20 times I know I am still in the same for loop.  I didn't have to
> listen to long lines of code to know this.
>
>
> Ken
> -----Original Message-----
> From: programmingblind-bounce@xxxxxxxxxxxxx
> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Octavian Rasnita
> Sent: Tuesday, December 09, 2008 12:43 PM
> To: programmingblind@xxxxxxxxxxxxx
> Subject: Re: Indentation Griping...
>
> From: "Jared Wright" <wright.jaredm@xxxxxxxxx>
> > Once I found a good method for absorbing it, I find indentation schema
> > helpful for many the same reasons all programmers do. It helps to outline
> > the structure and shape of the code being reviewed. That's no different
> > for a blind programmer than for everyone. We just have to figure out a
> > personally efficient way to keep tabs on what's being indented how far.
> > But even when I'm working in a speech only environment, I appreciate what
> > consistent indentation brings to code.
>
> Ok, then please tell me what consistent indentation brings to code for a
> blind developer that you can't do if the blocks are started and ended with
> braces.
>
> Thanks.
>
> Octavian
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: