44
dotPy
7y

And there I was thinking about being an Intern here...

NO FIGHTING OVER TABS AND SPACES IN THE COMMENTS PLEASE

Comments
  • 15
    jesus christ how fucking prissy are these people.

    "oh hey, nice secure, fast and low footprint os with ai integration, but you didnt put a new line at the end of one of your files so... *deletes all code in project*
  • 1
    Seems fine to me. You can convert between different code styles anyway.
  • 16
    There are 2 types of people in the world...

    1. Those who worry about trivial nonsense.

    2. The rest of us who don’t have time for these garbage time-wasting arguments.

    Let’s be adults and find better ways to occupy our time.
  • 12
    Use a proper editor/IDE and a code formatter. Problem solved.
  • 5
    I'd like to see how they delete my code if I also push it to my personal repo, and than bring it back to life.

    BTW ever noticed that indentation and tabs/spaces only seem to be an issue for javascript developers?
  • 3
    tslint --fix --project .
  • 0
    How is this still a thing.
  • 1
    Just use Prettier in the dev team workflow and leave me coding as I want
  • 2
    This is ridiculous...
  • 3
    Personally I believe that if you are working with group of developmers in single code base, you should decide language code style first then start the project.
  • 0
    I agree with there rules, within a team we need to normalize those things.
  • 0
    @leanrob Probably watch tv series?
  • 0
    @SVTJASE You don't have to do that. You can make a script, if you like or maybe use an extension.
  • 0
    Settings > Tabs > Convert to spaces
  • 0
    @ribchinski :)
  • 0
    The argument that different IDEs/editors define tabs differently is just stupid.
    I don't know of any such software which hasn't an option to set tab with and whether to use tab or spaces.
    Just set upt the editor correctly and you have no problems whatsoever.

    Indentation with spaces is really clumsy in all editors/IDEs I know. You have to really precisely mark stuff at the start of an indented line so you don't take a leading space with you. If you hit delete at 1 or more spaces to the left of a line, the indentation will be broken. If you additionally indent comments etc. right of a code line, spaces are inserted, if you then want to pull the indentation 1 unit to the left by hitting delete (shift-tab won't work of course), then you kill the nice and clean indentation and have to manually fix it by hitting delete or space.

    I have to fix broken indentation all the time because my boss forces us to use spaces and breaks it by moving around parts of lines.
    Also I hate Angular CLI to death because it is still not possible to tell it to use tabs when generating new components. Of course you can switch to tabs by reformatting, but tell that my boss, who is too lazy to use it and thus requiring us to worth with an abomination of indentation style.

    Spaces is a nightmare if you want OCD proof code. 😉

    (nothing personal)
Add Comment