• Lanthanae@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Most text editors people use (like VSCode) generally automatically adjust tabs to be whatever the standard indent is for the project (and convert to spaces if it’s necessary). As a result, indenting with tabs usually just works, and so most people just learn to do it that way. Also people are used to using tabs for indent from things like Word which they used before learning to write code. As a result, I’ve noticed most people use the tab key (even if their not technically “using tabs” every time they do it).

    • zalack@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yeah, I have my tab key set up to insert spaces. I meant the characters being used, not the key used to write them.

    • itty53@vlemmy.net
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I think the deeper generational thing is in the idea that anything “just works”. Like I’m a programmer, right, so I know shortcuts. Ctrl+S saves the file, simple right?

      Me when I want to save a file: Ctrl+SSSS. Why? Because I don’t trust it “just works”. Same reason I don’t trust auto save. Same reason I am stunned every time I tell windows to diagnose and fix the network problem and then it actually does.

      I grew up in a time where you couldn’t trust any of that shit.