Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I agree totally.

    I also use 8-space tabs, and only for most lefthand indenting. It is not a problem!
    • When Perl Best Practices came out I was annoyed that it did not recommend tabs.

      I had a chance to chat to Damian at some point and I asked him why go for spaces and not tabs.

      He said that tabs WERE a better choice, but by encouraging tabs it emerged that it was just too tempting for developers in general to then use the tabs after the beginning of the line, which (obviously) breaks things.

      So on the balance of the two factors (what is strictly better, and bad behaviours that it encourages) the spaces option wa
      • by pudge (1) on 2007.07.11 21:01 (#56187) Homepage Journal
        Indeed, and indeed. I learned some of my tabbing practice from a codebase where tabs were used after indentation, such as to line up (in C) variable declarations' types and names. Took me a little while, many years ago, to get out of that (and unfortunately we still have a bunch of that lying around).