Im an expert in code aesthetics. Ask me anything about GNU vs K&R brace placement, tabs vs spaces, the best comment syntax, huffman encoded syntactic tokens etc. I can also reformat code into a beautiful styel for BTC
Name:
Anonymous2015-06-13 15:24
Talk about Tabs vs Spaces, then.
Name:
Anonymous2015-06-13 15:38
>>2 I never could understand what tabs are for. They're just spaces. Why not use only one kind of spaces?
Name:
Anonymous2015-06-13 16:30
Where should an opening curly brace appear?
Name:
Anonymous2015-06-13 16:32
>>3 They're for tabulating figures into tables on typewriters. That's why they're supposed to be up to 8 characters wide. 4 characters isn't enough room to fit any useful figure. Their continued use in programming languages is an accident of history, though a useful one, as it allows people to view code at whatever indentation width they desire.
Name:
Anonymous2015-06-13 17:33
>>5 But we don't use typewriters anymore. Only the military and intelligence services use them.
as it allows people to view code at whatever indentation width they desire
This is better done by realizing that code is XML, not text, and that style should be separated from content.
Name:
Anonymous2015-06-13 17:55
>>6 My mom uses a typewriter, does that mean she's some kind of sleaper agent?
Name:
Anonymous2015-06-13 18:38
Tabs are better, because it is a simple matter of configuring how wide they are in the editor. If your editor didn't like it, get a new fucking editor. This isn't 1980, god damnit. Some people like 4 spaces wide, some like 1 or 8. I like 2 spaces. With tabbed we can all have it how we want.
Name:
Anonymous2015-06-13 18:43
>>8 With code stored as XML, this would be the least of possible style customizations available to everyone. With tabs, whenever someone replaces tabs with spaces, you're screwed.
Name:
Anonymous2015-06-13 19:19
>>9 Yes, but with XML, you're using XML, which is wise than death.
>>13 No, they are stored as XML, otherwise there wouldn't be so many parentheses. Storing code as XML makes indentation arbitrary and allows indentation-customized display. Tabs just don't cut it because not everyone uses them. XML, on the other hand, is solid.
>>14 No they are stored as LISP. Perhaps you mean abstract syntax tree instead of XML. Stop FUCKING MENTIONING XML. I FUCKING HATE XML> FUCKING FOEWFWOIwEF
>>16 S-expressions are in the Lisp family and XML is in the ML family.
Name:
Anonymous2015-06-13 21:09
>>17 I just imagined something very, very horrible.
Name:
Anonymous2015-06-13 21:10
Extensible ML
Name:
Anonymous2015-06-13 21:19
>>16 S-expressions and XML are both trivial textual representations of abstract syntax trees, and one is significantly more fucking annoying than the other. If I could punch you in the face right now I would.
Name:
Anonymous2015-06-13 21:23
>>20 So why don't you just use the less fucking annoying of the two? You have only yourself to blame for your stupidity. Punch yourself in the face, please.