|
Posted by Steve on 11/13/07 14:18
"Shelly" <sheldonlg.news@asap-consult.com> wrote in message
news:13jhverpimalu56@corp.supernews.com...
> 4sak3n 0ne wrote:
>> On Nov 10, 5:10 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>> 4sak3n 0ne wrote:
>>>> On Nov 8, 7:45 pm, "Shelly" <sheldonlg.n...@asap-consult.com> wrote:
>>>>> la...@portcommodore.com wrote:
>>>> Is there a specific reason for using spaces instead of tabs? I
>>>> still use tabs, but format them to 2 spaces.
>
> I actually tab, but I have my tabs set to two spaces. Yes, there is a
> reason FOR ME to use two spaces. One space doesn't give enough clarity
> for me to readily see the blocking, and four spaces can quickly get to
> lines starting on the right half of the page. So, it was between two and
> three and I chose two.
i think that's a pretty common practice. we (our company) doesn't care if
you space or tab. however, and a big however, is that when your editor saves
your work, it must convert all tabs to two spaces and \r\n to \n. each of us
uses different editors but it's the end result they want.
a lot of that has to do with customization of the editor you are using. most
of us use some flavor of vim but among those, each makes it look and act in
a personalized way. same thing with windows editors (not that vim can't be
run in windows). so even if we were to standardize and force everyone to use
the same editor, the problem wouldn't go away.
for me, nothing beats a fixed width font (like courier new) at 8pt using 2
spaces for tabs, trailing spaces trimmed on save, and \r\n replaced with \n.
luckily, most editors are configurable to do all of that...all you need to
do is keep coding and all of that is handled.
Navigation:
[Reply to this message]
|