Search found 7 matches

by Phaedrus
Wed Jul 29, 2009 5:15 pm UTC
Forum: Religious Wars
Topic: Tabs vs Spaces
Replies: 209
Views: 131310

Re: Tabs vs Spaces

Any sane individual will go with the latter option because the former involves relying on other people, entities which can generally be shown to most likely to do the WRONG thing. People make mistakes whether tabs or spaces are used; that's why auto-indentation was invented. (How could you else tru...
by Phaedrus
Fri Jul 24, 2009 5:10 pm UTC
Forum: Religious Wars
Topic: Tabs vs Spaces
Replies: 209
Views: 131310

Re: Tabs vs Spaces

Let the editor take care of the tabs and spaces for you. Vim has the Smart Tabs plugin, Emacs has Smart Tabs code for several languages, IntelliJ IDEA has a "Smart Tabs" option, and GNU Indent can be persuaded with -i99 -ts99 -l999. Works as part of the auto-indentation.
by Phaedrus
Thu Jul 23, 2009 12:03 pm UTC
Forum: Religious Wars
Topic: Tabs vs Spaces
Replies: 209
Views: 131310

Re: Tabs vs Spaces

Tabs can accommodate everyone! // Tab size: 8 // Tab size: 4 // Tab size: 2 int f(int x, int f(int x, int f(int x, ......int y) { ......int y) { ......int y) { ------->return g(x, --->return g(x, ->return g(x, ------->.........y); --->.........y); ->.........y); } } } int f(int x, int y) int f(int x...
by Phaedrus
Wed Jul 22, 2009 2:21 pm UTC
Forum: Religious Wars
Topic: Tabs vs Spaces
Replies: 209
Views: 131310

Re: Tabs vs Spaces

Code: Select all

int f(int x, int y)
{>x = g(x);
->y = g(y);
->return h(x, y); }
by Phaedrus
Wed Jul 22, 2009 1:31 pm UTC
Forum: Religious Wars
Topic: Tabs vs Spaces
Replies: 209
Views: 131310

Re: Tabs vs Spaces

Surprised no-one has linked this yet..... There is a case to be made for mixing tabs and spaces, though: use tabs for expressing the indentation level and spaces for lining things up. Or rather, set up your editor to format the whitespace in this way. int f(int x, ......int y) { --->return g(x, ---...
by Phaedrus
Mon Jun 22, 2009 10:14 pm UTC
Forum: Religious Wars
Topic: Tabs vs Spaces
Replies: 209
Views: 131310

Re: Tabs vs Spaces

by Phaedrus
Sat May 31, 2008 7:17 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0429: "Fantasy"
Replies: 81
Views: 17267

Re: "Fantasy" Discussion

This reminds me of the end of Gödel, Escher, Bach.

Go to advanced search