10

TABS OR SPACES?
It doesn't matter what you use, but use the ome you can stand with.
DONT FUCKING EVER BULLY ONE BECAUSE HE'S NOT USING YOUR "STANDARD"
Try to have some good discussion why you should use tabs or spaces and let other opinions matter. They may have some good reason for it.
PS I'm using spaces because it wont fuck up my Code if i change the OS (Windows<->Linux Server)

Comments
  • 4
    @fun2code yes. Thanks to Jetbrains IDEs i can press tab and it will automatically converted into 4 or 2 spaces.
  • 2
    Be careful what you say, ;)
  • 2
    I use soft-tabs.
    This way I can easily indent my code without having to worry about tab-related issues with different OS'es or IDE's.
    A space remains the same, a tab can change
  • 1
    Tabs really do a number on code when you open it on a website. Since tabs have no standard and can be interpreted differently. Spaces really work for me and they keep code neat, although I don't understand the 2 spaces thing. That just seems ugly and not properly indented and it feels like the need to put as much code as possible in a screen line which (usually) produces code smells. Our company's style guide forces 4 spaces instead of tabs. :)
  • 0
    Again use spaces aka soft tabs unless the language specify use tabs like Go or Makefile
Add Comment