Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

FORCED INDENTATION OF CODE

Name: Anonymous 2010-07-15 6:47

It's not that big of a deal.


1. You don't even have to indent, a good python editor will indent for you.
2. You should be indenting anyway


If you skip learning python simply because you are afraid of indenting, then you are a fool.

Name: Anonymous 2010-07-15 8:42

>>8
No tabs should be anything but a multiple of 2 * spaces in length.
No function that takes arguments that could span multiple lines is less than 4 characters wide:
printf ("Hello\n"
        "<- That was a tab!\n");

Nobody in their right mind would waste source code size with multiple tabs.
Even in an 80-column terminal (to encourage terse, yet still legible code) 8-width tabs are not a problem.

Ergo, 8 tabs is optimal.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List