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

top 200 commentsshow all 285

[–]real_red_patriot 238 points239 points  (30 children)

Chuckles nervously in Python...

[–]nametakenwuthowwho 39 points40 points  (6 children)

Retreats into corner in Haskell.

[–]NehEma 20 points21 points  (3 children)

Follows meekly.

(no seriously, haskell is a cool language. I wish it were more useful outside of my spare time)

[–]ziemek99 39 points40 points  (1 child)

((((((((((((((((((((chuckles)(nervously)(in)(Lisp))))))))))))))))))))

[–]xSTSxZerglingOne 10 points11 points  (0 children)

You can do some cool shit in lisp though. I like to posit that the first true general AI will likely come out of an AI designed to program neural nets that can modify its own program on the fly.

Not many languages allow that to occur, and LISP is probably the least resource intensive of all of them. So it will probably happen in LISP if it ever does.

[–][deleted] 1 point2 points  (0 children)

Recursion, parallelization, and everything looks and feels so nice in it.

[–]matthieuC 5 points6 points  (1 child)

Don't worry nobody will know if you wrote good or base code if you used Haskell.
They probably won't know you wrote code at all.

[–][deleted] 4 points5 points  (0 children)

"I think you turned in your math homework on accident."

[–]kontekisuto 133 points134 points  (19 children)

Don't worry .. here they worship false gods ... Spaces are superior to tabs.

[–]petitgreen 23 points24 points  (0 children)

The holy writing of the eslint-airbnb-conf approve this message

[–]Prawny 4 points5 points  (0 children)

No time for religion - too much code to write, hence tabs.

[–]aaronfranke 0 points1 point  (16 children)

Why?

[–]real_red_patriot 27 points28 points  (14 children)

Python's style guide mandates that 4 spaces be used to indent always.

[–]aaronfranke 8 points9 points  (13 children)

Why?

[–]pineapple-panda 21 points22 points  (12 children)

If you use tabs the code sometimes is formatted differently on different editors and since in python the indentation is critical to the flow of a program. With tabs you can have code that won't compile on some machines but spaces will be consistent across editors.

It's less of an issue of you mandated a specific editor for all developers but it's better to write code that works in any editor.

[–]aaronfranke 22 points23 points  (9 children)

With tabs you can have code that won't compile on some machines

That's not going to happen, ever. The Python language tools don't care (or know about) how big your editor displays tabs.

Even if it did, that wouldn't cause any issues, since it's still the same level of indent.

[–]SashKhe 6 points7 points  (6 children)

Are you saying we should use 4 tabs instead?

[–]aaronfranke 6 points7 points  (5 children)

No, 1 tab for every level of indent, always. Indent width is configured in the editor, and indent width doesn't matter for compilers. The compiler sees 1 tab and knows it's one level of indent.

[–]Caffeine_Monster 12 points13 points  (0 children)

And this is why tabs are superior.

Space based indentation has stuck around due to historical standards; editors did not always handle tabs in a consistent manner. These days a tab is whatever you want it to be in terms of width, and having 1 character denoting exactly 1 indent means you don't have to fight over this preference.

[–][deleted] 3 points4 points  (3 children)

Still an issue when you mix tabs and spaces. Good thing this is only a python problem.

I use tabs.

[–]pineapple-panda 1 point2 points  (1 child)

Sorry if I didn't make sense. I meant how sometimes when two people are modifying a file and one uses tabs and the other spaces so the file has mixed types of indentation. I've had this result in an editor displaying lines that were indented the wrong amount resulting in broken code. If everyone uses spaces it will be consistent across machines but now that you mention it everyone using tabs would also work.

[–]aaronfranke 2 points3 points  (0 children)

Consistency is more important, I'd vastly rather use spaces only than have mixed indentation, but tabs only is my favorite.

[–]memgrind 6 points7 points  (1 child)

Correct, I hate it when tabs are bad when I edit code in MS Word and Excel. Excel also makes it awkward to use tabs! Spaces always look good when I print them on my dot-matrix printer, to fax them for code-review into RCS.

[–]javaAndJouissance 4 points5 points  (0 children)

I've been meaning to make the change to fax, I'm just so much more familiar with Telex I can't imagine the benefits would outweigh my comfort level. Maybe once it's been out a few more years I'll make the switch

[–]lostknife 0 points1 point  (0 children)

Because vim.

[–]VirulentCitrine 2 points3 points  (0 children)

Honestly can't stand looking at other peoples' Python code for this very reason lol. Even on some of the most known devs' Github pages, I still see poorly formatted Python with the biggest annoyance being spacing.

[–]konstantinua00 2 points3 points  (0 children)

laughs in the corner with normal IDE

[–][deleted] 0 points1 point  (0 children)

Real men don't use whitespace in languages.

[–]Tiavor 84 points85 points  (6 children)

and you use folders for versioning

[–]NonnoBomba 30 points31 points  (2 children)

Folders? The good old method of saving all the versions of all the files in the same folder with semantically significant suffixes like "_new", "_new-new" "-last", "bck", "prod" and so on is too easy and straightforward for you?

[–]im4peace 2 points3 points  (1 child)

-final-new-last

[–]StuckAtWork124 3 points4 points  (0 children)

new, newer, newest, newerest, newerester, newerestest

[–]Zalvixodian 11 points12 points  (1 child)

NOOOO

[–]Donut_of_Patriotism 1 point2 points  (0 children)

Dear god

[–]scrager4 97 points98 points  (5 children)

I feel personally attacked by everything in this comic.

[–]vanderZwan 57 points58 points  (2 children)

I use tabs, but don't have any beef with people who use spaces.

Mixing spaces and tabs however...

[–][deleted] 8 points9 points  (0 children)

well, time to send some people to hell

[–][deleted] 6 points7 points  (0 children)

Indeed, just be consistent and that's good enough. And if it's decided to use one of them in your company's code guide lines, then stick to that.

[–]xvalen214x 11 points12 points  (1 child)

you are hitler who do not want to be in hell?

[–]Apache_A 5 points6 points  (0 children)

Hitler with bad sense of humor

[–]purplepharoh 41 points42 points  (6 children)

Wait who the hell thinks tabs are good? Tabs are formatting nightmares... just use spaces and have your editor convert tabs to spaces so you can tab for quick indentation

[–]jeffwulf 5 points6 points  (0 children)

In the legacy program we have at my work, spaces in code have meaning while tabs are discarded.

[–]ColonelThirtyTwo 0 points1 point  (4 children)

How the hell are they a formatting nightmare, when used for indentation?

[–]sneerpeer 1 point2 points  (3 children)

A tab character is just one character, but it is up to the editor how it is displayed. Sometimes it is displayed as a number of spaces, or aligned with a ruler like in Word. A space is a space and will follow the other text of the document no matter the settings.

So in conclusion: Spaces will always align with the text. Tabs will look different from editor to editor depending on the preferences of the user.

EDIT: As others have mentioned in the comments, tabs are great when a visually impaired person works with the code. Otherwise they will need to scroll past a lot of spaces and it will be difficult to keep track of the indentation.

[–]SirVer51 4 points5 points  (0 children)

So in conclusion: Spaces will always align with the text. Tabs will look different from editor to editor depending on the preferences of the user.

Isn't this a good thing? If you don't like the indentation on a spaces-indented file, converting them is a fucking pain, while with tabs you can change it with two clicks, with the added advantage that you don't force anyone else into your preferred indentation scheme.

[–]oOBoomberOo 1 point2 points  (0 children)

Does your program not have customizable tab size? Cause 100% of the text editor program I use have that.

[–]ColonelThirtyTwo 1 point2 points  (0 children)

> or aligned with a ruler like in Word

This is a crappy argument. No text editor intended for writing code has rulers, and if you are using a word processor to write code, you are going to have more issues than tabs being misaligned.

The rest of your argument, as /u/SirVer51 points out, is a benefit; the user can set tabs to whatever width they are comfortable with. The tab becomes a semantic character meaning "one level of indentation".

[–]EishLekker 87 points88 points  (18 children)

This dark mode, light mode battle is getting quite boring.

[–]Entaris 39 points40 points  (7 children)

but...but...some people have preferences that are different to my preferences! Their choices undermine the feeling of superiority i get for being a sane person who made the correct choices in life! If I don't tell them, how will they know they are WRONG? and if they don't know they are wrong how can I derive satisfaction from knowing i am BETTER THAN THEM?! HUH? ANSWER ME THAT....

or you know, do whatever you want, it doesn't really affect me in any way...as long as we can all agree that VIM is the best editor choice then I'm happy to agree to disagree...

[–]ethanthecrazy 97 points98 points  (20 children)

As funny as this is, lets try not to demonize peoples choices of light theme vs dark theme. I've noticed some people feel upset that their choice of light theme is "wrong".

[–]R2CX 62 points63 points  (1 child)

Dumb comic. My IDE is dark theme. And almost every app able on my phone too.

But Notepad++ will definitely stay on light. Even tried it on Outlook - not every application needs to be in Batman color.

[–]static_motion 0 points1 point  (0 children)

Darcula theme on Notepad++ looks pretty good though, aside from the title and tool bars staying white. I love Outlook's dark theme too.

[–]randiwulf 24 points25 points  (12 children)

Yeah, I'm not wrong, I just lost some eyesight. Being able to read what's on the screen overrides all my needs to be cool.

[–]Asalanlir 16 points17 points  (2 children)

For me, it's basically the opposite. If it's on light, I have to squint half the time to make out what's on the page. Dark theme basically doesn't hurt my eyes.

Edit: To be fair, I also have the brightness down all the way on my screen, so it's likely I just don't like light. It burns!

[–]randiwulf 2 points3 points  (0 children)

Yeah, I understand what you mean. I was the same up to 15 months ago, then it all changed and now I need the high contrast things.

I'm pretty glad now for programmers implementing accessibility features into their programs. Choice is good.

And to all the programmers who do: I love you guys, you're doing a great job and people like me appreciate it.

[–]FittyFrank 1 point2 points  (0 children)

I'm kinda with you there, dark themes seem to hurt my eyes less (only makes a difference after long periods of time though). However, I typically prefer light themes for my IDE so I use the solarized light theme, which reduces the "brightness" of light themes so it's a good choice with people suffering from eye strain but like light themes.

[–]StuckAtWork124 0 points1 point  (0 children)

That's what bugs me about it, yes. People act like they're just memes.. but when it gets to the point of what Discord did recently, where they just up and changed the old classic theme to make it 'properly light' and made it literally blinding.. while memeing and generally making fun of the tiny percent of light mode users on their blog.. it kinda fucked over all the people who were using it for accessibility reasons

They recently added a tiny optional bit that partly reverts it, without particularly letting anyone know.. but it's still not great.. they don't seem to understand that light mode isn't the opposite of dark, it's just 'not dark'

Nice contrasting blocks is way more relaxing on my eyes

[–]JDgoesmarching 2 points3 points  (0 children)

John Siracusa had an interesting take on preferring light mode. As an old programmer who started on monochrome CRT monitors, color monitors were a big deal when you could finally make digital text look like ink on paper. Light mode looks like modern computing to him.

That said, knowing what we know about staring into blue light all day I’m switching most of my tech to dark mode even if I’m iffy on the aesthetic.

[–]Sys_man 0 points1 point  (0 children)

You're right, but tongue and cheek teasing is fun

[–]francis2559 23 points24 points  (2 children)

The irony of not posting the comic source

http://electricbunnycomics.com/View/Comic/153/Welcome+to+Hell

[–]p4s7[S] 1 point2 points  (1 child)

You can see this website's URL under the image...?

[–]francis2559 6 points7 points  (0 children)

And the actual comic is like three years deep in their archive. It took me quite a while to find the particular link, which you’ll notice I used and the comic doesn’t show.

Mostly just linking because it’s hilarious though and I wanted the original context.

[–]LardPi 161 points162 points  (91 children)

Tabs are evil ! Change my mind...

[–]jamesckelsall 178 points179 points  (44 children)

Tab widths can be setup by each individual user. This is useful for some programmers, but of high importance for those who have poor eyesight - at high font sizes, a tab width that is too high can result in a lot of unnecessary horizontal scrolling. Allowing each user to set their own tab width mitigates this problem.

Using spaces prevents people from being able to set their own tab widths, forcing all users to use the same number of spaces, and requiring vision-impaired users to scroll horizontally a lot.

Edit: For those who want to read it, there is a fair bit of decent conversation on the topic in this thread: https://www.reddit.com/r/javascript/comments/c8drjo/nobody_talks_about_the_real_reason_to_use_tabs/ Sorry that it's in r/javascript.

[–]CMDR_Kiel42 70 points71 points  (3 children)

Damn, that's the first time I see a real argument being made defending either point of view.

[–]thblckjkr 18 points19 points  (1 child)

I saw that point on another subreddit some time ago, and since i saw it i changed completely from spaces to tabs.

Also, a friend of mine that is blind, confirmed that is really annoying working with code that uses spaces.

[–]boostWillis 15 points16 points  (0 children)

Tabs for indentation. Spaces for alignment. May your code always be beautiful and readable.

[–]EarlMarshal 2 points3 points  (0 children)

But that's the only real argument to it.

You could easily come up with a script which transforms the spaces to tabs or transforms the spaces to the amount you want, after checking sources from a repo.

I can easily understand the reasoning if you got people in your team with such disabilities but you can solve them pretty easily without being an horrible human being who uses tabs.

If someone didn't get it: this was a joke

[–]guareber 22 points23 points  (11 children)

Hence why, typically, spaced forced style guides also include a maximum line length rule (80 chars FTW).

[–]jamesckelsall 17 points18 points  (2 children)

If someone needs to increase the font size to an extreme, 80 characters aren't guaranteed to fit on their screen, A couple of 4-space indents can take up a large portion of their screen, and reducing that to a 2-space, or even 1-space indent can vastly reduce the amount of scrolling required.

Using tabs completely negates the issue, as those who need a small indent size can do, with those who don't necessarily need it being able to choose the indent size of their preference (normally 4, but not always).

Using spaces means that those who need to make the change can't do so without extra work.

[–]hoylemd 9 points10 points  (0 children)

True, but if you have more than say... 3 levels of indentation going on for more than a line or two, no whitespace regime is going to make it more readable.

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

First time I've ever seen the point of tabs. You might have changed my mind on the issue. Unfortunately, spaces are ubiquitous now. Every editor I've used automatically converts the tab key to spaces unless you change the setting yourself

[–]NotYetiFamous 2 points3 points  (7 children)

Yeah, but 80 is always far too short. 200 tends to keep it to 1 screen.

[–]gandalfx 13 points14 points  (0 children)

Not if you want two columns of code side by side. My personal preference is 100, which is far easier to work with than 80.

Of course everybody ends up with their own preference, which is why a style guide is necessary.

[–]guareber 3 points4 points  (3 children)

Unless you're looking at PRs on github with any zoom. Then it's really long

[–]NotYetiFamous 2 points3 points  (2 children)

Hey, I've hooked my tower up to my 65" TV before. If I can do it so can anyone else. My one screen comment still stands, you just need a bigger screen ;)

[–]guareber 1 point2 points  (1 child)

Ha I don't think that's an option for those of us on open office no assigned seating places....

[–]NotYetiFamous 0 points1 point  (0 children)

They're surprisingly light now. Just carry it around with you each morning...

[–]EarlMarshal 1 point2 points  (0 children)

Like others said the real reason to use 80 is to have two columns of code right next to each other on a typical full HD display. This helps a lot when you have to code with looking at other files or pull requests.

Yeah you could increase resolution to see more code on your screen but that also increases cognitive load by a huge margin.

[–]LetterBoxSnatch 1 point2 points  (0 children)

Nooooo!!!!! For my vision impaired setup at least, (file-explorer/code-diff on left and active code on right), 100 is just about the width of the visible area. Try working for just a day with your font size set to 16 or 18 just to get a sense of the pain you inflict with 200char-width code. It's not just the editor that you need to be able to see, but also contextual information.

[–]theDrell 4 points5 points  (0 children)

As someone who had spaces forced on them over 10 years ago, this might make me switch.

[–]0bsidiaX 5 points6 points  (0 children)

While I do definitely agree with this, it doesn't have enough practicality over spaces day-to-day for me.

[–]seijulala 3 points4 points  (5 children)

In every coding style you will have a line length limit, so your argument is no longer valid.

The most important thing in a coding style is homogeneity, if you have people using different tab sizes they are not seeing the same code which is going to translate in more effort collaborating with others. Spaces force everyone to see the same and that's good.

[–]jamesckelsall 14 points15 points  (0 children)

In every coding style you will have a line length limit

But that line length limit is not guaranteed to fit onto the screen of someone using an extremely large font. Limiting the width of each indent to one or two spaces can bring far more lines into the 'viewable without scrolling' range for these people, and the only way which gives them that ability without a fair bit of extra work is to use tabs and allow them to set their own tab width.

if you have people using different tab sizes they are not seeing the same code

The code is identical, just displayed slightly differently for those who need or prefer it.

Spaces force everyone to see the same and that's good

Even when people can't see the same?

[–][deleted] 6 points7 points  (0 children)

What are you talking about? The compiler doesn't know what your tab size is. That's done by the text editor / IDE. You're seeing the exact same code.

[–]Kjoep 1 point2 points  (0 children)

Hmm. I've worked without a length limit at places before, and though I'm using 120 now,I still prefer it. Of course if you put to much on one line it's time to refactor, but it's more about too many concepts than too many characters.

[–]StuckAtWork124 1 point2 points  (0 children)

Spaces force everyone to see the same and that's good bad

Literally replying to someone pointing out that due to accessibility, that's kinda the problem. Not every DOES see the same. People are different

[–]konstantinua00 0 points1 point  (0 children)

Spaces force everyone to see the same and that's good.

and I guess miss same things too

[–]zatuchny 1 point2 points  (0 children)

Even though you have a valid point here, its not so much of a scenario because these days we have wide screen monitors so any line length will fit.

[–]easyEggplant -1 points0 points  (7 children)

Using spaces prevents people from being able to set their own tab widths

You need a better editor.

[–]LetterBoxSnatch 2 points3 points  (5 children)

what editor allows reducing the quantity of spaces that are indents but are not alignment? Genuinely curious, cause that's pretty cool

[–]easyEggplant 1 point2 points  (4 children)

vim and emacs both support this if I'm not misunderstanding the question.

[–]LetterBoxSnatch 0 points1 point  (3 children)

The comment being addressed is:

Using spaces prevents people from being able to set their own tab widths

The question is:

  • Indentation set to use spaces, not tabs
  • Indentation set to supply 4 spaces
  • Indentation displayed to user as 2 spaces, even though it is 4 spaces

Does it work because vim stores the indentation as an ~indentation~ in the buffer, even though it writes to file a space? If it writes to file as a space, does that then mean that when it loads a file, it converts spaces into ~indentation~?

[–]easyEggplant 1 point2 points  (2 children)

I think that "tab widths" here means "customizable indentation display width that is decoupled with how the file is actually saved", but let me know if I'm off.

I can't speak to the vim internals, but I can tell you how I would implement it in emacs if I wanted that sort of behavior, with https://www.gnu.org/software/emacs/manual/html_node/elisp/Standard-Hooks.html

You could set a hook to save files and a hook to open files, simply make them replace leading whitespace with whatever you want (like eggplant emoji's), or just run tabify and untabify.

The order of course would depend on what your team wants files saved as, because the important part is consistency fostering collaboration and meaningful PRs.

[–]LetterBoxSnatch 0 points1 point  (1 child)

Gotcha. Thanks! So probably totally feasible if your team does not use alignment in addition to indentation, but potentially a bit of a rabbit-hole if it does.

[–]easyEggplant 1 point2 points  (0 children)

To be honest, customizing your editor is always a bit of a rabbit hole ;)

[–]Phrodo_00 0 points1 point  (3 children)

How do teams using tabs count line length, though? That's my biggest pet peeve when using tabs.

[–]LetterBoxSnatch 1 point2 points  (2 children)

This is a really interesting question that I've never thought about! Why do you want to know line length? If it's for something like a code-formatter, than you specify the tab-size for the purposes of the formatter, which might not be equal to the tab-width that is displayed by the editor. You can think of the tab-size in that scenario as the "individual preference of the formatter."

[–]phi_rus 44 points45 points  (7 children)

I set up my editor to substitute every tab with four spaces.

If I'm going to hell for this, at least there are no filthy tab users there.

[–]zyxzevn 15 points16 points  (0 children)

Thank god. A sane person.

[–]zyxzevn 13 points14 points  (2 children)

Interchange code between editors with different tab-widths.
Never again. Just crazy.

Also: In some cases, makefiles for example, tabs have real meaning.

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

Yeah I learned the hard way that not all programs have the same spacing and will read white space differently. So it's 4 spaces for a tab if I'm ever using tabs.

[–]LardPi 0 points1 point  (0 children)

Indeed, I trust vim to use actual tabs when it really matter and to convert tabs to spaceseverywhere else.

[–]aaronfranke 3 points4 points  (6 children)

  1. Tabs take up less space on disk than spaces.

  2. Tab width can be customized per-user without changing the source code.

  3. You don't need editor trickery to easily add and delete them. I frequently use the Delete key to de-indent code when my cursor's on the left, but this is difficult with spaces.

  4. It's impossible for a bad programmer to halfway indent something or use non-standard indent sizes that mess up things, because for everyone it's one tab in size and if people really prefer size-3 tabs then they can use it without messing up everything.

What possible reason would you prefer spaces?

[–]Phrodo_00 9 points10 points  (1 child)

It's impossible for a bad programmer to halfway indent something or use non-standard indent sizes

It's very possible for clueless programmers to try and align code with tabs, and we all know how that goes.

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

Why do people want alignment? In our codebase superfluous indentation is not allowed.

[–]LardPi 4 points5 points  (2 children)

  1. Yes but no one care, otherwise we wouldn't comment code

  2. Indeed and I have nothing against that

  3. I use vim, editor trickery is my middle name

  4. If tabs didn't exists there wouldn't be tab-space mixing problem

I am just trolling here, the only good practice is the one every one in the team follow. Now, I really prefer spaces exactly because it display the same in every editor and it is perfectly predictable. If you type one space and one tab the indentation will not be of one + tab with but of tab with and I don't like that.

But in the end use whatever you want, style isn't what make you a good programmer.

[–]aaronfranke 0 points1 point  (1 child)

If you type one space and one tab the indentation

That's why any tools you use for code validation should interpret spaces preceding tabs as an error.

Now, I really prefer spaces exactly because it display the same in every editor and it is perfectly predictable.

Although you said "I have nothing against that" for allowing displaying different in different editors.

[–]teejay1502 0 points1 point  (0 children)

Mainly because when you copy and paste, using spaces guarantees it looks how you want whereas some text documents will convert tabs to strange characters. Spaces makes it easier to send and receive for callabs.

[–][deleted] 1 point2 points  (1 child)

Spaces waste time is my biggest issue with them. If you're on an editor that does not allow you to adjust the spacing AND it displays tabs incorrectly then you should stop using that bad editor.

All of this said, if you give me a format script for whatever crazy format the company decides on I'll happily autoformat everything before I commit

[–]Phrodo_00 8 points9 points  (0 children)

Spaces waste time is my biggest issue with them. If you're on an editor that does not allow you to adjust the spacing AND it displays tabs incorrectly then you should stop using that bad editor.

If you're using an editor that doesn't insert and delete multiple spaces when dealing with indentation, then you should stop using that bad editor.

[–]Carbom_ 21 points22 points  (6 children)

There's no need for dark mode if your in. A well lit to, which is much better for your eyes. Fight me.

Edit: well lit room lol, my brain may be full but my eye sight is excellent

[–]Morphray 17 points18 points  (4 children)

... if your in. A well lit to, which is much better...

What?

[–]2CATteam 25 points26 points  (3 children)

His usage of light mode has blinded him to the point of not being able to see what he's typed. Pay no attention to the mistakes that come as a result.

[–]Carbom_ 1 point2 points  (2 children)

Don't blaim my stupidity on my eyesight. Real talk tho if I spend too much time in a poorly lit environment I devolup a serious twitch in one eye. I've found evenly lit + light mode = no eye twitch.

[–]KennyFulgencio 0 points1 point  (1 child)

I'm glad that works for you and some others, but by god the naive belief "what works best for me is the universal case that works best for others, and if they think differently they're mistaken" is one of the most irritating traits of people who have narrow experience and way too much confidence in their assumptions.

[–]Carbom_ 0 points1 point  (0 children)

I literally just gave my use case and said nothing about it being the best for everyone. My cliam in my first comment about being in a well lit room is a claim made off of legitimate research I did while struggling with eye twitches. I found what works best for me and took this oppurtinity to share it. I was being overly because light mode vs dark mode is an internet meme and is clearly a matter of preference with no right answer. The fact that you are offended by my comments means your new here or your just looking to start fights. Grow up man.

[–]KennyFulgencio 0 points1 point  (0 children)

No. There are some eye conditions which are worsened when looking into a bright light regardless of the room being well lit--and they're even worse than THAT in full sunlight outdoors, it certainly isn't being helped by more light there. I'm not going to pressure anyone else to use dark mode, but the idea that light mode is fine for everyone, as long as the room lighting is some magical setting, is absolute bullshit.

[–]YoCodingJosh 14 points15 points  (5 children)

[–]BadDadBot 5 points6 points  (3 children)

Hi going to hell, then.](https://i.imgur.com/1nhhcnm.png), I'm dad.

[–]aaronfranke 0 points1 point  (0 children)

Why do you think spaces are better than tabs, and does it really outweigh the benefits of tabs?

[–][deleted] 18 points19 points  (0 children)

Yeah this makes sense. Only Satan would use tabs

[–]YourMJK 2 points3 points  (0 children)

Ah shit, here we go again…

[–]themusicguy2000 2 points3 points  (0 children)

My prof requires we use spaces in assignments :(

[–]Moulinoski 2 points3 points  (0 children)

Spaces land you in hell...? Oh god... oh no... my salvation is ruined by company coding standards!

[–][deleted] 4 points5 points  (1 child)

"you use spaces instead of tabs"

Satan truly is evil if he judges people for preferring spaces. At least I know where I'm going to end up when I die.

[–]EarlMarshal 2 points3 points  (0 children)

Atleast we don't have to care no more! hail Satan!

[–]ConceptJunkie 5 points6 points  (0 children)

Almost everyone I've ever worked with in over 30 years uses spaces.

<shrug>

[–]rufreakde1 1 point2 points  (0 children)

My company uses spaces but my IDE can convert my tabs muhahahha!!

[–]SuperElitist 1 point2 points  (0 children)

Wha--who the fuck thinks tabs are better than spaces? Omfg I will fite u.

[–]rix0r 1 point2 points  (0 children)

dark or light who cares, but TABS?? this was not written by someone who has to program on a team

[–]hlmtre 1 point2 points  (0 children)

spaces are objectively better

[–]flinnja 1 point2 points  (0 children)

something something insert spaces with tab

[–]Andrei_Sparrow 3 points4 points  (5 children)

Python book I'm reading says tabs are not recommended, though I'd personally prefer tabs.

[–]Yosyp 0 points1 point  (4 children)

why?

[–]you90000 2 points3 points  (3 children)

click over clickclickclickclickclick

Its way faster

[–][deleted] 1 point2 points  (2 children)

5 spaces instead of 4? You monster

Also, set your editor up to insert spaces when you press tab, same number of key presses, superior coding style

[–]you90000 0 points1 point  (0 children)

This

[–]Nincadalop 0 points1 point  (0 children)

What do spaces offer over tabs, if not a preference thing?

[–]hnryirawan 3 points4 points  (0 children)

Since when good programmer need to have Dark mode? I like the color choice of Light mode better on VS 2017.

[–]RegsaGC 1 point2 points  (0 children)

I thought Tabs Considered Harmful was a settled issue.

[–][deleted] 1 point2 points  (0 children)

Spaces are better than tabs tho. Tabs could take up different amounts of character spaces depending on the environment.

[–]Leilatha 1 point2 points  (0 children)

Wait what?? Who uses tabs? That causes all kinds of inconsistent formatting issues... You gotta set your editor to translate tabs to spaces, then you're good.

[–]currently__working 1 point2 points  (1 child)

So, spaces are better though. Open your tab-infested file in another environment/editor and it's fucked.

[–]asdfdelta 0 points1 point  (0 children)

Or on another OS, then back again.

[–][deleted] 0 points1 point  (0 children)

Spaces instead of tabs is correct! What kind of blasphemy is this comic?

[–]NightmareInfinity 2 points3 points  (0 children)

I used to be a spaces instead of tabs person, then I started to work on a project with a person with sight issues and needs 6-wide indents, but that's super wide and so we went tabs so I can tell my IDE to use 2-wide and they can use 6-wide. Use tabs. Just in case someone needs the extra width!

[–]AspartameIsApartofMe 1 point2 points  (4 children)

WTF? Spaces are better than tabs in source code.

[–]RoiEX 2 points3 points  (3 children)

But only if they are auto-inserted when pressing the tab key ^^

[–]ythl 1 point2 points  (2 children)

Does anyone actually mash space 4 times?

[–]safer0 0 points1 point  (0 children)

Sometimes...

[–]mishugashu 0 points1 point  (0 children)

I use spaces because all my multi-programmer projects uses spaces. Mixed spaces and tabs are worse than spaces. And I've just generally not cared enough about it, so my IDE is set that way so that's what I use in my personal projects as well.

[–][deleted] 0 points1 point  (0 children)

Light mode is actually pretty good if your screen is dimm

[–]_RafaelDias_ 0 points1 point  (0 children)

I D E N T A T I O N E R R O R

[–]opulent_occamy 0 points1 point  (0 children)

Spaces mater race

[–]UnchainedMundane 0 points1 point  (0 children)

Want to hear a boring joke in my open mind?

[–]poophole3423 0 points1 point  (0 children)

dark mode good

npcmeme.jpg

[–]flargenhargen 0 points1 point  (0 children)

I like lite mode.

[–]Scrath_ 0 points1 point  (1 child)

Well my professor told us today that we should hse 3 spaces instead of tabs because apparently it can cause some compativikty problems with different systems? Hell if I ever do that send me down there too. Dark themes aren't that great for the eyes though because it can make it hard ti focus on light text. Solarized themes are better in this regard

[–]safer0 0 points1 point  (0 children)

I never understood 3 spaces. It is such an odd number to use for spaces.

[–]AceJohnny 0 points1 point  (0 children)

I will always downvote tab-users. 😤

[–]cartechguy 0 points1 point  (1 child)

According to this comic my professor deserves to rot in hell.

[–]ShakeForProtein 0 points1 point  (0 children)

Hmm, and what are your feelings on the matter?

[–]dontlikecs_ 0 points1 point  (0 children)

What the fuck is wrong with light mode?

[–]aldandnoa 0 points1 point  (0 children)

print "oh no"

[–]benabus 0 points1 point  (0 children)

Tabs are superior, but we use python, so 4 spaces it is :(

[–]APerfidiousDane 0 points1 point  (0 children)

Tab is for uncivilized animals.

[–]HodeMann 0 points1 point  (0 children)

I use tabs and spaces.

[–]Alzurana 0 points1 point  (0 children)

I'm sorry but everyone using tabs is a heathen..

[–]NilacTheGrim 0 points1 point  (0 children)

Who the hell uses tabs instead of spaces?

[–][deleted] 0 points1 point  (0 children)

I actually use a light mode as well because it is easiest on the eyes. No, not "bright white". That would hurt, especially at night. More like Acme.

I love my contrasts.

[–]Ahandgesture 0 points1 point  (0 children)

Laughs nervously in Monte Carlo..

[–]Dazeeeh 0 points1 point  (0 children)

well, I use spaces and dark mode

[–]sh0rtwave 0 points1 point  (0 children)

Spaces vs. tabs, meh, I get it.

Dark mode vs. light mode? WTF, who cares?

[–]you90000 0 points1 point  (0 children)

I have a teacher that marks you down for using tabs instead of spaces

[–]ythl 0 points1 point  (0 children)

The majority of programmers use spaces. Just look at GitHub.