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
Search - "intendation"
-
Ok... Indentation styles.
Usually I'm an advocate for letting people program how they want as long as it's readable, etc.
But I'm training somebody at the moment and had to bite my tongue when they started doing this...5 -
When you and your colleagues fight over code intending whether it should be a tab or ''x'' spaces.
My reply: It doesn't matter what you use!! It's like eating with either a fork or spoon, as long as you eat, dammit!!
My friend:5 -
Ah yes, The Hacker News intentionally using intendation errors in python 2 to screw over people using their ddos script. yes. That's gotta be the reason
why the fuck am I even following these trolls3 -
I never understood the ‚space vs tabs‘ war ...
Tabs can do everything that spaces can plus more:
* look the same as spaces, but its width is configurable (at least in a decent editor)
* the safe space (1 byte vs 3 or 4)
* you can decrease the intendation leven with one bsckspace keypress in every(!) editor.
So the winner can only be tabs? Why would I even limit myself with spaces?
I dont wanna start a flame war, just curious what you guys (especially the spaces lovers) think about it11 -
Fuck JetBrain! So I'm sitting there, unhappy with Vim, wanting to write a simple timer program to execute scripts and alarms at a given time. Trying gedit and gvim, huh, lets give PyCharm a try! Well: PyCharm uses fucking Spaces by default and it automaticaly reformats my entire project from tabs to spaces. After that it fucked up a merge, and rendered everything useless, as python cant execute mixed intendation, and PyCharm wasnt working anymore because somehow important project files were corrupted through merge. Fuck this shit. Now im running Geany. It works.10