Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
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!!
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 it19
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.11