Re: Change Tab behavior in 3.0+

28 views
Skip to first unread message

Tom Swartz

unread,
Oct 15, 2012, 12:01:29 PM10/15/12
to puppet...@googlegroups.com
I should say that this referrs to Geppetto and the Geppetto Eclipse plugin. Sorry.

If this is the wrong group to post, could someone point me to the proper section?

On Monday, October 15, 2012 11:57:38 AM UTC-4, Tom Swartz wrote:
Hey all,

I have a question regarding the choice to move to spaces (rather than tabs) in the editor.

May I ask the reasoning behind this?

Furthermore, is there a way to revert to the 'old style' that used tabs instead? I prefer this, as it makes the code look cleaner.

Matt Zagrabelny

unread,
Oct 15, 2012, 5:23:20 PM10/15/12
to puppet...@googlegroups.com
On Mon, Oct 15, 2012 at 10:57 AM, Tom Swartz <tom.sw...@gmail.com> wrote:
> Hey all,
>
> I have a question regarding the choice to move to spaces (rather than tabs)
> in the editor.
>
> May I ask the reasoning behind this?

Tabs render to different number of spaces depending on the program or
user preference. There are a truckload of reasons to not use them.

http://www.yaml.org/faq.html
http://flylib.com/books/en/2.146.1.26/1/

-mz

Jo Rhett

unread,
Oct 22, 2012, 5:32:39 PM10/22/12
to puppet...@googlegroups.com
On Oct 15, 2012, at 2:23 PM, Matt Zagrabelny wrote:
There are a truckload of reasons to not use them.

No, there is only one reason: force everybody on the project to use the indentation you prefer.

Every editor and command line tool allows for personalized tab adjustments. Logic based on how editors worked in v7 unix isn't relevant now. Linux/FreeBSD/Solaris/etc have never had any problem supporting flexible spacing arrangements. The logic named in those posts is only relevant if you are using 30 years old operating systems that can't run Puppet nor Eclipse anyway.

-- 
Jo Rhett
Net Consonance : net philanthropy to improve open source and internet projects.



Reply all
Reply to author
Forward
0 new messages