ubuntu terminal directory

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Mon Mar 29 07:46:25 EDT 2010


On 03/28/2010 11:18 PM, Derek Martin wrote:
> Everyone makes an issue of that.  Honestly, at first I didn't like the
> forced indentation, until I had an epiphany: I would never
> (intentionally) write code that's not consistently indented.  Doing so
> makes the code less readable.  So it immediately became a non-issue
> for me.  If you use a modern editor, and configure it well, you don't
> even have to think about it.
>  =20
Indentation is something very important to programmers. While C, C++,
FORTRAN, and other languages do not force indentation, nearly every
installation I have worked at had some standards on indentation.
void foo(<class> fubar) { // using K&R indentation style
    a line of code
    another line of code
}

The nice thing about indentation is that you can easily see what level
of code you are in, especially in long loops of if statements. Over the
years there is a considerable difference in style and preferences by the
systems people vs. the software people. As a long time software
developer, I certainly much prefer a block structured language (like C,
Pascal, C++, Java, and Python), (I've worked with COBOL, FORTRAN, BASIC
- many variants).

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846







More information about the Discuss mailing list