I am a huge fan of Python and so indenting is vital; a missed indent and your program will not run at all! I indent manually, which is a bit of a pain, but Edsharp offers Python programmers a feature to convert; you use braces in your python code like you might in any other language, then you hit the pydent command and you get a properly indented file with no braces. However, I found that managing the pyb (pybrace file, containing the python with braces) and py (the python file without braces) was rather annoying as I was always getting "are you sure you want to replace this file" messages and saving was a big hastle. If the pydent file management could be cleaned up, and the indentation customized, it would be an excellent feature, but as it stands I use spaces (so jaws does not announce "blank", as it will for tabs) and do it all manually. On 5/19/10, qubit <lauraeaves@xxxxxxxxx> wrote: > I used to program for a living when I had a little more sight -- I used > screen enlargement and indeed indentation was very important for me at that > time. However, now with no print vision left and using speech and a little > braille, it is harder to know when or how much a line of code is indented. > > In my years of reading mail from this list I haven't heard how the various > programming-adapted editors handle indentation -- do they keep track of the > level of curly braces and indent automatically? > I am now learning C# and using Jamal's edsharp. It seems to have every > keystroke tied to some function. Perhaps I will learn how he handles > indentation -- or can someone who is already an edsharp user perhaps answer > what edsharp does in the way of indentation? > > And of course there are other non-blindness related yet usable programs such > as ultraedit, notetab, textpad, boxer, and whatever else. > These also have a following. > > Hope this answers your query. > When I was working, I programmed C++ in large projects with teams of other > programmers, and I can say that indentation style is nothing to dismiss as > only "beautifying" the code -- it reflects logic and can even help in > finding and fixing bugs. > So I am sure the editors of choice have some provision for inserting > indentation. > So what editor did I use? well that was back when vi was the editor of > choice for most people, and it assumed people would insert their own > indentation. > > Happy hacking. > --le > > > > ----- Original Message ----- > From: "Ųyvind Lode" <oyvind.lode@xxxxxxxx> > To: <programmingblind@xxxxxxxxxxxxx>; <program-l@xxxxxxxxxxxxx> > Sent: Wednesday, May 19, 2010 10:55 AM > Subject: Indentation of code > > > Hi all: > > I'm just wondering how you folks indent your code? > Do you use indentation at all? > > I know that indentation is not required for C#, but sighted folks prefer it. > > Currently I don't have any code to share between sighted and blind > programmers. > I've just started learning to program and I use C#. > > I'm just curious and would like some pointers. > I'm just trying to develop a good habit of how my code should look like. > > __________ > 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 > > -- Have a great day, Alex (msg sent from GMail website) mehgcap@xxxxxxxxx; http://www.facebook.com/mehgcap __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind