Re: code indentation (python and c...)

Hi

From what I've seen four is more normal, but then if Google uses a standard of two who am I to argue.

Besides, with Python it is simple to write a script to change indentation to anything you like from anything else.

Richard
----- Original Message ----- From: "Daniel Dalton" <d.dalton@xxxxxxxxxxxx>
To: "blind programming" <programmingblind@xxxxxxxxxxxxx>
Sent: Thursday, April 03, 2008 1:45 PM
Subject: Re: code indentation (python and c...)


On Thu, 3 Apr 2008, rrdinger wrote:

I also use two spaces. And as to how I use Python without Braille, I use the

Hi Richard,

Oh good. So I'm not following a bad style?

feature in jaws that announces indentation level. This feature announces when indentation changes as you move through the code. If you forget what level you are at do a SayLine and it wil tell you as well as reading the line.

That's good to know and sounds like a very good idea.

I'm on linux and just use braille to program with some very basic speech...
Actually  I use braille for pretty much everything else too...
I'm just not sure how I will program on my laptop with out braille. Perhaps i can use orca and write a python script to speak indentation, but then I will be forced to work in a gui and I prefer the cli. Anyway I guess I could do that if I had to, hopefully i have the display for all my programming!

Thanks for the reply!

--
Daniel Dalton

http://members.iinet.net.au/~ddalton/
d.dalton@xxxxxxxxxxxx
__________
View the list's information and change your settings at http://www.freelists.org/list/programmingblind



__________
View the list's information and change your settings at http://www.freelists.org/list/programmingblind

Other related posts: