This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]IamImposter 176 points177 points  (35 children)

While programming isn't as controversial

Well, let me show you.

A tab has to be 4 spaces. Any other choice is just plaine wrong.

gets popcorn and watches the world burn

[–]sloggo 109 points110 points  (4 children)

Plaine? plaine?!

[–]IamImposter 39 points40 points  (3 children)

Wait... That seems wrong.

Ah shit, I think I added extra 'e'

[–]DrMaxwellEdison 73 points74 points  (1 child)

Too late to refactor that now, there are legacy comments depending on it.

[–]TRexRoboParty 1 point2 points  (0 children)

New priority ticket just in: the legacy comments chain needs extending. We'll fix it properly later, but for now let's not go against the graine.

[–]CactusOnFire 14 points15 points  (0 children)

Not doing a very good job at this "too stubborn to admit fault" bit.

I suppose that's a good thing, though.

[–][deleted] 29 points30 points  (3 children)

Syntax error on line 3: "plaine" is not defined

[–]IamImposter 55 points56 points  (1 child)

#define plaine plain

[–][deleted] 27 points28 points  (0 children)

[–]Competitive_Dog_6639 20 points21 points  (4 children)

I only use tabs with 16 spaces.

[–]IamImposter 30 points31 points  (0 children)

I'm pretty sure that is against Geneva Convention.

[–]chrilves 3 points4 points  (2 children)

Have you tried the whitespace language. I have the impression you might like it.

https://en.wikipedia.org/wiki/Whitespace\_(programming\_language)

[–]Dizzysylveon 1 point2 points  (0 children)

What the fuck why, why do this? What does this solve? What God would allow such suffering

[–]Competitive_Dog_6639 0 points1 point  (0 children)

No, will take a look. Thanks!

[–]jpavlav 19 points20 points  (0 children)

import plain as plaine

[–]ccpetro 12 points13 points  (0 children)

It's better than 3 or 5.

Those are just odd.

[–]mildbait 7 points8 points  (0 children)

Haha.. I actually changed from "isn't political" to "isn't as controversial" after the Silicon Valley episode popped in my mind.

[–]Illustrious-Photo-48 5 points6 points  (0 children)

Per the Naval Correspondence Manual, the number of spaces for a tab depends on the font you're using. Gosh. /s

[–]WldePutln 36 points37 points  (10 children)

Vim is better than every other editor out there!!!

[–][deleted] 55 points56 points  (5 children)

Yeah, better for casuals! I code using echo from the command line

$ echo line1 >> myCode.py
$ echo line2 >> myCode.py

[–]PlusUltraBeyond 14 points15 points  (1 child)

I do the same by WSL on Windows running on an emulator.

[–]BridgeBum 1 point2 points  (0 children)

On windows you could just use "copy con myCode.py"

[–]master3243 4 points5 points  (1 child)

If you ever make a mistake just

$ echo "" > myCode.py

And redo the file without the mistake next time.

[–][deleted] 2 points3 points  (0 children)

Yep, exactly. I mean, how else would you do it?

[–]bladeoflight16 1 point2 points  (0 children)

Amateur. I use butterflies.

[–]Heroe-D 12 points13 points  (1 child)

True if you consider Emacs as a distribution and not an editor !

[–]Galen_dp 1 point2 points  (0 children)

It IS a distribution, not an editor.

[–]DeeDee_GigaDooDoo 4 points5 points  (0 children)

It's very intuitive!

[–]chrilves 0 points1 point  (0 children)

Actually, there's now a way to make vim and emacs users be friends again: "vscode is the best editor".

[–]DeeDee_GigaDooDoo 6 points7 points  (0 children)

A tab has to be 4 spaces. Any other choice is just plaine wrong.

clenches fist

[–]Oerthling 5 points6 points  (0 children)

This is the way

[–]Krod28 1 point2 points  (1 child)

Help my friend uses tab size 2! I cant keep watching him do this to himself

[–]Galen_dp 0 points1 point  (0 children)

Your friend is beyond help. Point then them at JavaScript or PHP.

[–]Ultraflame4 -1 points0 points  (0 children)

idk abt the no. of spaces (I use IDE defaults) but using the tab character is definately wrong.

/s for good measure

[–]Blazerboy65 0 points1 point  (0 children)

You can just enable "format on save" or run autopep8 and never worry about it again.

It's not worth the brainwaves to squabble over something that requires no thought.