[Beowulf] g77 limits...
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Leif Nixon nixon at nsc.liu.seWed Mar 1 07:07:41 PST 2006
- Previous message: [Beowulf] g77 limits...
- Next message: [Beowulf] g77 limits...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Robert G. Brown" <rgb at phy.duke.edu> writes: > Well, yes, but not exactly. You have to mark up the braces for the sake > of the compiler, yes, absolutely, but you have some ability to use > JUDGEMENT as to how to indent -- or if. i=10; > while (i>0) { a[i] = b[i]; i--; } Well, you can do i=10 while i>0: a[i] = b[i]; i-=1 in Python. You *can* put the statements in a compound statement on the same line, separated by semicolons, if you want. > Nesting levels of 10+ are not unknown. Embarrassing. I'll pretend I didn't read that. Interestingly, you didn't touch on the one actual disadvantage with Python's indentation sensitivity; when you move blocks of code around, you need to adjust the indentation level of the code when you paste it in. But a Sufficiently Smart Editor like emacs makes that easy. (I don't know what the vi guys do, but I can't be having with them, anyway.) -- Leif Nixon - Systems expert ------------------------------------------------------------ National Supercomputer Centre - Linkoping University ------------------------------------------------------------
- Previous message: [Beowulf] g77 limits...
- Next message: [Beowulf] g77 limits...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
