From: Nikolai Weibull Date: 2005-03-23T09:34:16+09:00 Subject: Re: Any guides for good coding in Ruby? * Jim Freeze (Mar 23, 2005 01:30): > One problem with tabs is that people tend to mix tabs and spaces, > then, when I set the tab to be 2-spaces, I may get 2,3 or 4 spaced > indents. There's no good reason to change the width of tabs. Your editor should be able to emulate this behaviour anyway. In vim, to get two-space indents: :set softtabstop=2 shiftwidth=2 or :set sts=2 sw=2 if you're lazy, and leave the 'tabstop' setting alone, nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: minimalistic.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}