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
-
There is a special place in hell for people like your friend. Hope he gets there soon.
-
You betcha make em write an Ansible Playbook, your colleagues would happily want to revert to those childhood days of drawing on an actual playbook rather than Ansible Playbook, annoying indentation syntax errors
-
That's not a solution but the digital equivalent of sticking your head in the sand/db.
In Sql the code is seldom formatted at all. -
Noob64667yA coworker of mine made a preprocessor that auto formats Java code with spaces (indentation).
For a week he was running it on every file in the repository and pushing changes.
Every damn line was red and green with basically the same text. -
c2wiki3787yIt's like having a 80 column limit, if a statement happens to have the size of War and Peace, it should go on the same line! Also, what's so bad about building pyramids of if's? Just buy a larger screen :D
-
Gnonpi7907yCome on, I'm in every language, there is a code convention that says what should be done. With Python, it's PEP8
-
@BM32 I have (almost) 11 years of *no* coding experience ;) Simply because there were hardly any computers around uptil that age. At least none that common people could afford or even have access to.
-
spacem18447yI don't care if it's tabs or spaces but consistency is nice. That converting program sounds like a good idea like how git auto-converts line endings
-
@spacem Agree. I consistenly use tabs, but that leads to an inconsistency when copypasting code across IDEs as some replace tabs with spaces, and not the same number of spaces. That's actually one argument for spaces that I can come to think of. For example, if you always hit, say, two spaces instead of a tab, the indentation will always be two spaces, no matter where you port it.
-
Hahahahaha you fucking madman.
Good luck with the soon-to-ensue knife fight.
I just use an .editorconfig and couldn’t give a shit, it’s great fun. -
@iSwimInTheC Fuck you. I have the same brain size as no indentation and i use tabs
I don't understand why so many people fight this war of tabs vs spaces. My colleagues elegantly solved the problem just not using indentation at all
undefined