Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ubuntu terminal directory



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








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org