4 ms·
Tabs make no sense to me as they're clearly control codes. I maintain that if tabs are permitted, so are other ASCII control codes, like vertical tab, form fee
by efaref 10y ago
Tabs make no sense to me as they're clearly control codes.
I maintain that if tabs are permitted, so are other ASCII control codes, like vertical tab, form feed (which is actually used in GNU code), and bell.
int foo(void)
{
<TAB>/* <BEL><BEL><BEL> This bit is really important. */
<TAB>...
}
<VT>
int blah(void)
{
<TAB>...
}
<EOT>
<EM>
:-)
- Asooka 10y agoWhy not go all the way? Use Start of Header before your require/#include/import/etc. then Start of Text when your code proper starts. Replace ifs with ENQ, thens with ACK and elses with NAK. You can build an entire language where all the keywords are just ASCII control codes. That will free up all the punctuation for other purposes, and you could name your variables if, for, while, etc.
- Stratoscope 10y agoCareful, my friend. Strawmen are highly flammable. ;-) But I like your sense of humor, so you definitely earned an upvote from me - a flaming tab advocate! (And I learned to program on a ASR33 Teletype - so I do miss those old control codes...)
- Symbiote 10y agoI like the idea :-) The GNU coding standards request form-feed (\f or ^L) to separate code into logical pages. https://www.gnu.org/prep/standards/standards.html#index-control_002dL https://www.gnu.org/prep/standards/standards.html#index-cont...