5

I think someone already posted something similar but... a problem I had recently when developing a program in php was that my partner was tapping the spacebar twice in indents while I just used tab... You can imagine the result after the merge (plus no github, all by hand)... Had to review all the code top to bottom and fix the code because the teacher said that "bad indent on the code equals bad evaluation on this project, so learn how to indent!" why do people use spaces instead of tabs? is there any language that requires spaces for indents? if not, please stop!! Its painful just to watch and move across the code...

Comments
  • 0
    use netbeans + code formatter
  • 3
    something something something Python?
  • 1
    Because spaces always means the same thing. Tab doesn't.
  • 0
    did you try putting the code on a decent editor and converting tabs to spaces and back again?
  • 0
    @afduarte no, we didnt use/know any decent editors to do that :P

    sorry for the late reply...
  • 0
    @njpugh90 no, but that is one reason why we are trying to use git on the new project
    sorry for the late reply...
Add Comment