dfmt 0.1.0
Russel Winder via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Fri Mar 6 02:31:29 PST 2015
On Fri, 2015-03-06 at 01:37 -0800, Walter Bright via Digitalmars-d-announce wrote:
> On 3/5/2015 7:15 PM, Brian Schott wrote:
> > You probably feel that way because tabs are better. dfmt only
> > defaults to spaces
> > because that's what's in the Phobos style guide.
>
> Spaces are used in Phobos because no two tools agree on what the tab
> size should be.
That is the whole point of using tabs for indent, you can chose the
indent amount: I tend to use 20ex.
Remember a tab is not a number of spaces, it is semantic markup. Using
spaces is a low-level hack founded on a lack of separation of concerns
and abstraction.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
More information about the Digitalmars-d-announce
mailing list