www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/04/10/00:00:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Thu, 09 Apr 2009 22:54:54 -0500
From: "Charles Sandmann" <cwsdpmi AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <f1018f14-b049-48d5-90a6-1cee94bd7ca7 AT z9g2000yqi DOT googlegroups DOT com> <73mdrsFvhhebU1 AT mid DOT individual DOT net> <bd1b0cf9-a2c1-4fd8-b430-35dfabb5b2d9 AT z1g2000yqn DOT googlegroups DOT com> <26b8b849-581a-491c-8642-6817b0a2c35d AT n8g2000vbb DOT googlegroups DOT com> <grg07n$ahv$1 AT aioe DOT org> <7c2bf159-c640-48d0-96ed-af920b1147e0 AT z19g2000vbz DOT googlegroups DOT com> <RrydnaB7NcRY50DUnZ2dnUVZ_oWdnZ2d AT earthlink DOT com> <af0613ba-f8f4-4a12-aa4c-bf6d59f477b7 AT k2g2000yql DOT googlegroups DOT com>
Subject: Re: Which editor do you use?
Date: Thu, 9 Apr 2009 22:54:43 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
Message-ID: <I_qdnXVHPL6TXkPUnZ2dnUVZ_uKdnZ2d@earthlink.com>
Lines: 30
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 64.91.192.48
X-Trace: sv3-b8AhUmgTcBrSPBE0sRri2EmGjz1TF4P/TnPc0ADgoj4JhvoqbVSiNTdzpEAG0QldEI2z2Lfrv5Yi7cj!vJ8AKdDZqu8cbKp9tDhDQEDIZGsMouIdKyHnpTyA1G6sZqx2nSytco+97ckX1Sg90kZKEaEMyKhf!c7+/qlLAxhDT5SW6UO+k3Ny3rPrtXXo=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39
X-Original-Bytes: 2770
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Rugxulo" <rugxulo AT gmail DOT com> wrote in message 
news:af0613ba-f8f4-4a12-aa4c-bf6d59f477b7 AT k2g2000yql DOT googlegroups DOT com...
>An 160k file of mine can be shrunk to 130k if I convert spaces to
>tabs. But actually it .ZIPs up to approximately the same size either
>way, so it's less of an issue.

1) Files with tabs compile directly (30K always saved, can't say the same 
about compressed files)
2) That 30K reading and writing from disk on editors adds up over the years
3) The compile speed is marginally faster since there are fewer chars to 
process
4) I'll haunt you *FOREVER* if you say disk space is cheap and it doesn't 
matter ;-)

>> Automatic indentation of program structures + complex code. With tab 
>> stops
>> @ 3 char increments, that's only 30 characters indent...

>It's not that tabs are bad, just that nobody handles them the same way.
>FYI, GNU sets their tab stop to 2 char increments.

Code still looks OK with tab stops a 2 chars, or 3 chars, or 4 chars ....
With a "default" 8 chars you need a wide screen to see it.  But all real
programmers have at editor windows least 132 chars wide ... :-)

YMMV, but I'll stick to tabs.  Upgrade your tab stops or editor if it
bugs you.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019