Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@fun2code yes. Thanks to Jetbrains IDEs i can press tab and it will automatically converted into 4 or 2 spaces.
-
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 -
arekxv10527yTabs 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. :)
-
Again use spaces aka soft tabs unless the language specify use tabs like Go or Makefile
Related Rants
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)
rant
opinions matter
spaces
tabs