1. 12
  1. 8

    Perl hackers are like “do what thou wilt is the whole of the law.”

    Mix those tabs and spaces, brave knights.

    1. 4

      The answer is very Perl.

      The author does count only tabs or spaces in the beginning of lines. I wonder if the results change at all if we allow an error margin when a file has both? That is, if a file has 95% tabs and 5% spaces, we’ll count it as having tabs?

      1. 2

        I have seen lots of software projects that use almost exclusively tabs or spaces, but by some accident one or two of the wrong type of indentation character slips in and the devs either don’t notice or don’t care. I personally, don’t really consider that to be a mixture of tabs and spaces.

          1. 1

            Meta: the style for this site seems to be missing a size rule for certain window widths, and a horizontal scrollbar - rendering it unreadable by default for me.